Skip to content

Commit 02bdd41

Browse files
committed
Auto merge of #17460 - lnicola:sync-from-rust, r=lnicola
minor: Sync from rust
2 parents 7c52065 + 0a26523 commit 02bdd41

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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
// &&

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6579ed89f0fcc26da71afdd11d30d63f6f812a0a
1+
3d5d7a24f76006b391d8a53d903ae64c1b4a52d2

0 commit comments

Comments
 (0)