File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
rustc_const_eval/src/check_consts Expand file tree Collapse file tree 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>(
280280 } else {
281281 let mut sugg = None ;
282282
283- // TODO: update this
284283 if ccx. tcx . is_lang_item ( trait_id, LangItem :: PartialEq ) {
285284 match ( args[ 0 ] . unpack ( ) , args[ 1 ] . unpack ( ) ) {
286285 ( GenericArgKind :: Type ( self_ty) , GenericArgKind :: Type ( rhs_ty) )
Original file line number Diff line number Diff line change 11//! Construction of MIR from HIR.
22
33// tidy-alphabetical-start
4+ #![ allow( internal_features) ]
45#![ allow( rustc:: diagnostic_outside_of_impl) ]
56#![ allow( rustc:: untranslatable_diagnostic) ]
6- #![ allow( internal_features) ]
77#![ feature( assert_matches) ]
88#![ feature( box_patterns) ]
99#![ feature( if_let_guard) ]
10+ #![ feature( lang_items) ]
1011#![ feature( let_chains) ]
1112#![ feature( try_blocks) ]
12- #![ feature( lang_items) ]
1313#![ warn( unreachable_pub) ]
1414// tidy-alphabetical-end
1515
You can’t perform that action at this time.
0 commit comments