We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2bbf06 commit 5cef094Copy full SHA for 5cef094
src/librustc/ty/constness.rs
@@ -109,6 +109,7 @@ pub fn provide(providers: &mut Providers<'_>) {
109
match tcx.fn_sig(def_id).abi() {
110
Abi::RustIntrinsic |
111
Abi::PlatformIntrinsic => {
112
+ // FIXME: deduplicate these two lists as much as possible
113
match tcx.item_name(def_id) {
114
// Keep this list in the same order as the match patterns in
115
// `librustc_mir/interpret/intrinsics.rs`
0 commit comments