Skip to content

Commit

Permalink
Add legalization for expressions inside AssocConst
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed May 15, 2024
1 parent cc4bb32 commit e82bbb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ pub(crate) mod printing {
self.ident.to_tokens(tokens);
self.generics.to_tokens(tokens);
self.eq_token.to_tokens(tokens);
self.value.to_tokens(tokens);
print_const_argument(&self.value, tokens);
}
}

Expand Down

0 comments on commit e82bbb5

Please sign in to comment.