diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-12-04 01:51:26 +0100 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-12-04 01:51:26 +0100 |
| commit | 5cef094a72f61966146338015f7e52874d57bcbd (patch) | |
| tree | 321bbf96a92b31f48183baa7f3b01a86e15f0722 /src | |
| parent | e2bbf0647aa1e78802607dc74d906b94ea127999 (diff) | |
Leave fixme
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/ty/constness.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc/ty/constness.rs b/src/librustc/ty/constness.rs index 6df49683f68..268015a5624 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` |
