We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e399970 commit 81a8faeCopy full SHA for 81a8fae
src/tools/miri/tests/fail/layout_cycle.rs
@@ -5,6 +5,7 @@ use std::mem;
5
6
pub struct S<T: Tr> {
7
pub f: <T as Tr>::I,
8
+ _tail: (), // without this, we get an overflow error instead
9
}
10
11
pub trait Tr {
0 commit comments