]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/intra-doc/feature-gate-intra-doc-pointers.stderr
Rollup merge of #107194 - xfix:remove-slice-internals-dependency-in-rustc-ast, r...
[rust.git] / tests / rustdoc-ui / intra-doc / feature-gate-intra-doc-pointers.stderr
1 error[E0658]: linking to associated items of raw pointers is experimental
2   --> $DIR/feature-gate-intra-doc-pointers.rs:1:6
3    |
4 LL | //! [pointer::add]
5    |      ^^^^^^^^^^^^
6    |
7    = note: see issue #80896 <https://github.com/rust-lang/rust/issues/80896> for more information
8    = help: add `#![feature(intra_doc_pointers)]` to the crate attributes to enable
9    = note: rustdoc does not allow disambiguating between `*const` and `*mut`, and pointers are unstable until it does
10
11 error[E0658]: linking to associated items of raw pointers is experimental
12   --> $DIR/feature-gate-intra-doc-pointers.rs:3:6
13    |
14 LL | //! [pointer::wrapping_add]
15    |      ^^^^^^^^^^^^^^^^^^^^^
16    |
17    = note: see issue #80896 <https://github.com/rust-lang/rust/issues/80896> for more information
18    = help: add `#![feature(intra_doc_pointers)]` to the crate attributes to enable
19    = note: rustdoc does not allow disambiguating between `*const` and `*mut`, and pointers are unstable until it does
20
21 error: aborting due to 2 previous errors
22
23 For more information about this error, try `rustc --explain E0658`.