aboutsummaryrefslogtreecommitdiff
path: root/lazy-static/compiletest/tests/compile-fail/static_is_sized.rs
blob: ac1cad4c81ede5d5a108a27402646f10af9ecb4d (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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() {
}