error[E0308]: mismatched types
  --> $DIR/feature-gate-relaxed_struct_unsize.rs:8:34
   |
LL |     let y: &A<[u32; 1], [u32]> = &x;
   |            -------------------   ^^ expected slice `[u32]`, found array `[u32; 1]`
   |            |
   |            expected due to this
   |
   = note: expected reference `&A<[u32; 1], [u32]>`
              found reference `&A<[u32; 1], [u32; 1]>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
