File tree 2 files changed +2
-3
lines changed
rustc_const_eval/src/check_consts
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,6 @@ fn build_error_for_const_call<'tcx>(
280
280
} else {
281
281
let mut sugg = None ;
282
282
283
- // TODO: update this
284
283
if ccx. tcx . is_lang_item ( trait_id, LangItem :: PartialEq ) {
285
284
match ( args[ 0 ] . unpack ( ) , args[ 1 ] . unpack ( ) ) {
286
285
( GenericArgKind :: Type ( self_ty) , GenericArgKind :: Type ( rhs_ty) )
Original file line number Diff line number Diff line change 1
1
//! Construction of MIR from HIR.
2
2
3
3
// tidy-alphabetical-start
4
+ #![ allow( internal_features) ]
4
5
#![ allow( rustc:: diagnostic_outside_of_impl) ]
5
6
#![ allow( rustc:: untranslatable_diagnostic) ]
6
- #![ allow( internal_features) ]
7
7
#![ feature( assert_matches) ]
8
8
#![ feature( box_patterns) ]
9
9
#![ feature( if_let_guard) ]
10
+ #![ feature( lang_items) ]
10
11
#![ feature( let_chains) ]
11
12
#![ feature( try_blocks) ]
12
- #![ feature( lang_items) ]
13
13
#![ warn( unreachable_pub) ]
14
14
// tidy-alphabetical-end
15
15
You can’t perform that action at this time.
0 commit comments