This commit is contained in:
Ralf Jung 2021-06-17 20:52:35 +02:00
parent 35af23b6a9
commit 7f3dd37f1e
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
d74b36ea2f814b720c39d7b60aecaefe512a056b 4d3ce2e7dac840d6ac7d658a5506eb31492fb3ef

View File

@ -8,7 +8,7 @@
struct PrintName<T>(T); struct PrintName<T>(T);
impl<T> PrintName<T> { impl<T> PrintName<T> {
const VOID: ! = panic!(); //~ERROR any use of this value will cause an error const VOID: ! = panic!(); //~ERROR evaluation of `PrintName::<i32>::VOID` failed
} }
fn no_codegen<T>() { fn no_codegen<T>() {