Skip to content

Commit f7669c1

Browse files
Rollup merge of #126328 - RalfJung:is_none_or, r=workingjubilee
Add Option::is_none_or ACP: rust-lang/libs-team#212
2 parents 55fc418 + 588eb6b commit f7669c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/hir-ty/src/display.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1387,6 +1387,7 @@ fn generic_args_sans_defaults<'ga>(
13871387
}
13881388
// otherwise, if the arg is equal to the param default, hide it (unless the
13891389
// default is an error which can happen for the trait Self type)
1390+
#[allow(unstable_name_collisions)]
13901391
default_parameters.get(i).is_none_or(|default_parameter| {
13911392
// !is_err(default_parameter.skip_binders())
13921393
// &&

0 commit comments

Comments
 (0)