We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 34e22a8 + d309804 commit 4cf36f2Copy full SHA for 4cf36f2
rust-version
@@ -1 +1 @@
1
-0e63af5da3400ace48a0345117980473fd21ad73
+120b2a704a60d4341286bd82f6e638c65ca169b6
tests/compile-fail/erroneous_const.rs
@@ -9,6 +9,7 @@
9
struct PrintName<T>(T);
10
impl<T> PrintName<T> {
11
const VOID: ! = panic!(); //~WARN any use of this value will cause an error
12
+ //~^ WARN this was previously accepted
13
}
14
15
fn no_codegen<T>() {
0 commit comments