File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1462,7 +1462,7 @@ fn generic_args_sans_defaults<'ga>(
14621462 // otherwise, if the arg is equal to the param default, hide it (unless the
14631463 // default is an error which can happen for the trait Self type)
14641464 #[ allow( unstable_name_collisions) ]
1465- default_parameters. get ( i) . is_none_or ( |default_parameter| {
1465+ IsNoneOr :: is_none_or ( default_parameters. get ( i) , |default_parameter| {
14661466 // !is_err(default_parameter.skip_binders())
14671467 // &&
14681468 arg != & default_parameter. clone ( ) . substitute ( Interner , & parameters)
Original file line number Diff line number Diff line change @@ -15,8 +15,10 @@ extern crate rustc_abi;
1515#[ cfg( not( feature = "in-rust-tree" ) ) ]
1616extern crate ra_ap_rustc_abi as rustc_abi;
1717
18- // Use the crates.io version unconditionally until the API settles enough that we can switch to
19- // using the in-tree one.
18+ #[ cfg( feature = "in-rust-tree" ) ]
19+ extern crate rustc_pattern_analysis;
20+
21+ #[ cfg( not( feature = "in-rust-tree" ) ) ]
2022extern crate ra_ap_rustc_pattern_analysis as rustc_pattern_analysis;
2123
2224mod builder;
You can’t perform that action at this time.
0 commit comments