about summary refs log tree commit diff
path: root/src/test/compile-fail/removed-syntax-const-item.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/removed-syntax-const-item.rs')
-rw-r--r--src/test/compile-fail/removed-syntax-const-item.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/removed-syntax-const-item.rs b/src/test/compile-fail/removed-syntax-const-item.rs
index a87f6218941..841c1ec59fd 100644
--- a/src/test/compile-fail/removed-syntax-const-item.rs
+++ b/src/test/compile-fail/removed-syntax-const-item.rs
@@ -8,4 +8,4 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-const i: int = 42; //~ ERROR expected item but found `const`
+const i: int = 42; //~ ERROR expected item, found `const`