]>
Commit | Line | Data |
---|---|---|
cdc7bbd5 | 1 | error[E0658]: unsizing casts to types besides slices are not allowed in const fn |
f9652781 XL |
2 | --> $DIR/unsizing-cast-non-null.rs:6:5 |
3 | | | |
4 | LL | NonNull::<[T; 0]>::dangling() | |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
6 | | | |
cdc7bbd5 XL |
7 | = note: see issue #64992 <https://github.com/rust-lang/rust/issues/64992> for more information |
8 | = help: add `#![feature(const_fn_unsize)]` to the crate attributes to enable | |
f9652781 XL |
9 | |
10 | error: aborting due to previous error | |
11 | ||
cdc7bbd5 | 12 | For more information about this error, try `rustc --explain E0658`. |