1 error[E0723]: unsizing casts are only allowed for references right now
2 --> $DIR/unsizing-cast-non-null.rs:6:5
4 LL | NonNull::<[T; 0]>::dangling()
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
8 = help: add `#![feature(const_fn)]` to the crate attributes to enable
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0723`.