1 2 3 4 5 6 7 8 9 10 11
// error-pattern:the trait bound `str: std::marker::Sized` is not satisfied #[macro_use] extern crate lazy_static; lazy_static! { pub static ref FOO: str = panic!(); } fn main() { }