This commit is contained in:
Ralf Jung 2021-02-03 23:37:40 +01:00
parent 34e22a8024
commit d309804395
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
0e63af5da3400ace48a0345117980473fd21ad73
120b2a704a60d4341286bd82f6e638c65ca169b6

View File

@ -9,6 +9,7 @@
struct PrintName<T>(T);
impl<T> PrintName<T> {
const VOID: ! = panic!(); //~WARN any use of this value will cause an error
//~^ WARN this was previously accepted
}
fn no_codegen<T>() {