Skip to content

Commit 6be7701

Browse files
committed
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.
1 parent d200a3f commit 6be7701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/huge-struct.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ struct S1M<T> { val: S1k<S1k<T>> }
4747

4848
fn main() {
4949
let fat: Option<S1M<S1M<S1M<u32>>>> = None;
50-
//~^ ERROR the type `S32<S1M<S1M<u32>>>` is too big for the current architecture
50+
//~^ ERROR is too big for the current architecture
5151

5252
}

0 commit comments

Comments
 (0)