From 6ab68829f1e075562be3ae67909a66d4e7d9a307 Mon Sep 17 00:00:00 2001 From: Ashley Mannix Date: Thu, 28 Jun 2018 11:37:20 +1000 Subject: [PATCH] update unsized error msg pattern --- compiletest/tests/compile-fail/static_is_sized.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiletest/tests/compile-fail/static_is_sized.rs b/compiletest/tests/compile-fail/static_is_sized.rs index e10ef22..6e24a23 100644 --- a/compiletest/tests/compile-fail/static_is_sized.rs +++ b/compiletest/tests/compile-fail/static_is_sized.rs @@ -1,4 +1,4 @@ -// error-pattern:the trait bound `str: std::marker::Sized` is not satisfied +// error-pattern:the size for value values of type `str` cannot be known at compilation time #[macro_use] extern crate lazy_static_compiletest as lazy_static;