diff options
Diffstat (limited to 'src/test/ui/borrowck/borrowck-assign-to-constants.rs')
-rw-r--r-- | src/test/ui/borrowck/borrowck-assign-to-constants.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/borrowck/borrowck-assign-to-constants.rs b/src/test/ui/borrowck/borrowck-assign-to-constants.rs deleted file mode 100644 index 5881dccf6..000000000 --- a/src/test/ui/borrowck/borrowck-assign-to-constants.rs +++ /dev/null @@ -1,6 +0,0 @@ -static foo: isize = 5; - -fn main() { - // assigning to various global constants - foo = 6; //~ ERROR cannot assign to immutable static item `foo` -} |