diff options
Diffstat (limited to 'src/test/ui/borrowck/borrowck-thread-local-static-borrow-outlives-fn.rs')
-rw-r--r-- | src/test/ui/borrowck/borrowck-thread-local-static-borrow-outlives-fn.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/borrowck/borrowck-thread-local-static-borrow-outlives-fn.rs b/src/test/ui/borrowck/borrowck-thread-local-static-borrow-outlives-fn.rs deleted file mode 100644 index 1cf8d187c..000000000 --- a/src/test/ui/borrowck/borrowck-thread-local-static-borrow-outlives-fn.rs +++ /dev/null @@ -1,9 +0,0 @@ -#![feature(thread_local)] - -#[thread_local] -static FOO: u8 = 3; - -fn assert_static(_t: &'static u8) {} -fn main() { - assert_static(&FOO); //~ ERROR [E0712] -} |