Skip to content

Commit 0a26523

Browse files
committed
Merge from rust-lang/rust
2 parents ffbfd02 + 867bd09 commit 0a26523

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/hir-ty/src/display.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,6 +1426,7 @@ fn generic_args_sans_defaults<'ga>(
14261426
}
14271427
// otherwise, if the arg is equal to the param default, hide it (unless the
14281428
// default is an error which can happen for the trait Self type)
1429+
#[allow(unstable_name_collisions)]
14291430
default_parameters.get(i).is_none_or(|default_parameter| {
14301431
// !is_err(default_parameter.skip_binders())
14311432
// &&

0 commit comments

Comments
 (0)