summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/intra-doc/feature-gate-intra-doc-pointers.rs
blob: 3cfac942ca85ed1595dc925a5b2179ad90a334a5 (plain)
1
2
3
4
5
6
//! [pointer::add]
//~^ ERROR: experimental
//! [pointer::wrapping_add]
//~^ ERROR: experimental
//! [pointer] // This is explicitly allowed
//! [reference] // This is explicitly allowed