We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1f9b53 commit 3e1f63eCopy full SHA for 3e1f63e
tests/compile-fail/static_is_sized.rs
@@ -4,7 +4,7 @@ extern crate lazy_static;
4
lazy_static! {
5
pub static ref FOO: str = panic!();
6
}
7
-//^ ERROR `str` does not have a constant size known at compile-time
+//^ ERROR the trait bound `str: std::marker::Sized` is not satisfied
8
9
fn main() {
10
0 commit comments