]> git.proxmox.com Git - rustc.git/blobdiff - src/test/parse-fail/issue-20711-2.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / parse-fail / issue-20711-2.rs
index be6bd516d6fe439388160260d61fc3c4f824d302..a489864e3f7370cb8ae0b6b8321106f2a2c2176b 100644 (file)
@@ -16,6 +16,6 @@ impl Foo {
     fn foo() {}
 
     #[stable(feature = "rust1", since = "1.0.0")]
-} //~ ERROR expected one of `const`, `extern`, `fn`, `pub`, `type`, or `unsafe`, found `}`
+} //~ ERROR expected one of `const`, `default`, `extern`, `fn`, `pub`, `type`, or `unsafe`
 
 fn main() {}