]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/issue-49983-see-issue-0.stderr
Rollup merge of #93850 - asquared31415:extern-static-size-ice, r=jackh726
[rust.git] / src / test / ui / feature-gates / issue-49983-see-issue-0.stderr
1 error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
2   --> $DIR/issue-49983-see-issue-0.rs:4:30
3    |
4 LL | #[allow(unused_imports)] use core::ptr::Unique;
5    |                              ^^^^^^^^^^^^^^^^^
6    |
7    = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0658`.