Skip to content

Commit

Permalink
Avoid matching type in huge-struct test error annotation
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tmiasko committed Oct 29, 2019
1 parent 88bfc2f commit 2f188f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/huge-struct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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

}

0 comments on commit 2f188f8

Please sign in to comment.