1 error[E0308]: mismatched types
2 --> $DIR/issue-67945-2.rs:12:20
5 | - this type parameter
7 LL | let x: S = MaybeUninit::uninit();
8 | - ^^^^^^^^^^^^^^^^^^^^^ expected type parameter `S`, found union `MaybeUninit`
10 | expected due to this
12 = note: expected type parameter `S`
13 found union `MaybeUninit<_>`
15 error[E0392]: parameter `S` is never used
16 --> $DIR/issue-67945-2.rs:9:12
21 = help: consider removing `S`, referring to it in a field, or using a marker such as `PhantomData`
23 error: aborting due to 2 previous errors
25 Some errors have detailed explanations: E0308, E0392.
26 For more information about an error, try `rustc --explain E0308`.