aboutsummaryrefslogtreecommitdiff
path: root/lazy-static/compiletest/tests/compile-fail/static_is_sized.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lazy-static/compiletest/tests/compile-fail/static_is_sized.rs')
-rw-r--r--lazy-static/compiletest/tests/compile-fail/static_is_sized.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/lazy-static/compiletest/tests/compile-fail/static_is_sized.rs b/lazy-static/compiletest/tests/compile-fail/static_is_sized.rs
deleted file mode 100644
index ac1cad4..0000000
--- a/lazy-static/compiletest/tests/compile-fail/static_is_sized.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// error-pattern:the size for values of type `str` cannot be known at compilation time
-#[macro_use]
-extern crate lazy_static_compiletest as lazy_static;
-
-lazy_static! {
- pub static ref FOO: str = panic!();
-}
-
-
-fn main() {
-}