]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/old-suffixes-are-really-forbidden.rs
Replace illegal with invalid in most diagnostics
[rust.git] / src / test / compile-fail / old-suffixes-are-really-forbidden.rs
index b18741d3932f9971ce87874abb11b3c4ca2fe1c9..9a71dc980149c18e9458229affda4fcd44e8b687 100644 (file)
@@ -9,6 +9,6 @@
 // except according to those terms.
 
 fn main() {
-    let a = 1_is; //~ ERROR illegal suffix
-    let b = 2_us; //~ ERROR illegal suffix
+    let a = 1_is; //~ ERROR invalid suffix
+    let b = 2_us; //~ ERROR invalid suffix
 }