File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
- //FIXME~ ERROR values of the type `[u8; usize::MAX]` are too big for the target architecture
1
+ //~ ERROR values of the type `[u8; usize::MAX]` are too big for the target architecture
2
+
2
3
// Make sure the compiler does not ICE when trying to generate the debuginfo name of a type that
3
4
// causes a layout error.
4
5
// This version of the test already ICE'd before the commit that introduce the ICE described in
5
6
// https://github.com/rust-lang/rust/issues/94961.
6
7
7
- //@ compile-flags:-C debuginfo=2 --error-format=human
8
+ //@ compile-flags:-C debuginfo=2
8
9
//@ build-fail
9
10
//@ error-pattern: values of the type `[u8; usize::MAX]` are too big for the target architecture
10
11
@@ -17,6 +18,3 @@ pub enum Foo<T> {
17
18
pub fn foo ( ) -> usize {
18
19
std:: mem:: size_of :: < Foo < u8 > > ( )
19
20
}
20
-
21
- // FIXME: the error is reported on different lines on different targets
22
- //FIXME~? ERROR values of the type `[u8; usize::MAX]` are too big for the target architecture
You can’t perform that action at this time.
0 commit comments