diff options
Diffstat (limited to 'src/test/compile-fail/borrowck-assign-to-constants.rs')
| -rw-r--r-- | src/test/compile-fail/borrowck-assign-to-constants.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/borrowck-assign-to-constants.rs b/src/test/compile-fail/borrowck-assign-to-constants.rs index 59ced0275c0..44ca3b043db 100644 --- a/src/test/compile-fail/borrowck-assign-to-constants.rs +++ b/src/test/compile-fail/borrowck-assign-to-constants.rs @@ -2,6 +2,6 @@ const foo: int = 5; fn main() { // assigning to various global constants - none = some(3); //! ERROR assigning to static item - foo = 6; //! ERROR assigning to static item + none = some(3); //~ ERROR assigning to static item + foo = 6; //~ ERROR assigning to static item } \ No newline at end of file |
