about summary refs log tree commit diff
path: root/tests/ui/layout/unknown-when-ptr-metadata-is-DST.stderr
blob: fd9eedc9267a23b490ebf3db53b176f335944a9e (plain)
1
2
3
4
5
6
7
8
9
error[E0080]: the type `str` has an unknown layout
  --> $DIR/unknown-when-ptr-metadata-is-DST.rs:8:16
   |
LL |     [(); { let _a: Option<&str> = None; 0 }];
   |                ^^ evaluation of `return_str::{constant#0}` failed here

error: aborting due to 1 previous error

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