Skip to content

Commit bef66a3

Browse files
committed
gccrs: [E0658] intrinsics are subject to change
gcc/rust/ChangeLog: * checks/errors/rust-feature-gate.cc (FeatureGate::gate): Added errorcode. Signed-off-by: Muhammad Mahad <[email protected]>
1 parent 2293b34 commit bef66a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc/rust/checks/errors/rust-feature-gate.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ FeatureGate::gate (Feature::Name name, location_t loc,
8686
{
8787
const char *fmt_str
8888
= "%s. add `#![feature(%s)]` to the crate attributes to enable.";
89-
rust_error_at (loc, fmt_str, error_msg.c_str (),
89+
rust_error_at (loc, ErrorCode::E0658, fmt_str, error_msg.c_str (),
9090
feature.as_string ().c_str ());
9191
}
9292
}

0 commit comments

Comments
 (0)