Skip to content

Commit 3e1f63e

Browse files
committed
Fix error pattern
1 parent e1f9b53 commit 3e1f63e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/compile-fail/static_is_sized.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ extern crate lazy_static;
44
lazy_static! {
55
pub static ref FOO: str = panic!();
66
}
7-
//^ ERROR `str` does not have a constant size known at compile-time
7+
//^ ERROR the trait bound `str: std::marker::Sized` is not satisfied
88

99
fn main() {
1010
}

0 commit comments

Comments
 (0)