about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2019-10-29 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2019-11-03 10:20:11 +0100
commit6be770150bb216bfca38849ee3239fd227ccae7b (patch)
tree0ee1bfb545714ab7bf18dcd027d7cf467c0ada4d
parentd200a3f7ecc0f70113952dbfffd5fea6a51c84ff (diff)
downloadrust-6be770150bb216bfca38849ee3239fd227ccae7b.tar.gz
rust-6be770150bb216bfca38849ee3239fd227ccae7b.zip
Avoid matching type in huge-struct test error annotation
The concrete type that will be too big is target dependent. Avoid
matching it in error annotation to make test work correctly across
different targets.
-rw-r--r--src/test/ui/huge-struct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/huge-struct.rs b/src/test/ui/huge-struct.rs
index e120cae7fdd..e50ca5f54d1 100644
--- a/src/test/ui/huge-struct.rs
+++ b/src/test/ui/huge-struct.rs
@@ -47,6 +47,6 @@ struct S1M<T> { val: S1k<S1k<T>> }
 
 fn main() {
     let fat: Option<S1M<S1M<S1M<u32>>>> = None;
-    //~^ ERROR the type `S32<S1M<S1M<u32>>>` is too big for the current architecture
+    //~^ ERROR is too big for the current architecture
 
 }