Skip to content

Commit d969d6a

Browse files
committed
remove todo
1 parent 04f3e6d commit d969d6a

File tree

2 files changed

+2
-3
lines changed
  • compiler
    • rustc_const_eval/src/check_consts
    • rustc_mir_build/src

2 files changed

+2
-3
lines changed

compiler/rustc_const_eval/src/check_consts/ops.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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))

compiler/rustc_mir_build/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
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

0 commit comments

Comments
 (0)