1 error[E0308]: mismatched types
2 --> $DIR/issue-66451.rs:27:10
8 LL | | nested: &Bar(5),
11 | | - ^ expected `Foo { value: 3, nested: &Bar::<i32>(5) }`, found `Foo { value: 3, nested: &Bar::<i32>(4) }`
13 | expected due to this
15 = note: expected struct `Test<Foo { value: 3, nested: &Bar::<i32>(5) }>`
16 found struct `Test<Foo { value: 3, nested: &Bar::<i32>(4) }>`
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0308`.