From 5cef094a72f61966146338015f7e52874d57bcbd Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Wed, 4 Dec 2019 01:51:26 +0100 Subject: [PATCH] Leave fixme --- src/librustc/ty/constness.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc/ty/constness.rs b/src/librustc/ty/constness.rs index 6df49683f688f..268015a56240e 100644 --- a/src/librustc/ty/constness.rs +++ b/src/librustc/ty/constness.rs @@ -109,6 +109,7 @@ pub fn provide(providers: &mut Providers<'_>) { match tcx.fn_sig(def_id).abi() { Abi::RustIntrinsic | Abi::PlatformIntrinsic => { + // FIXME: deduplicate these two lists as much as possible match tcx.item_name(def_id) { // Keep this list in the same order as the match patterns in // `librustc_mir/interpret/intrinsics.rs`