rust/tests/rustdoc/issue-15318-2.rs
Vadim Petrochenkov 52b15b4bf9 rustdoc: Unsupport importing doc(primitive) and doc(keyword) modules
These are internal features used for a specific purpose, and modules without imports are enough for that purpose.
2023-03-28 17:31:39 +04:00

13 lines
258 B
Rust

// aux-build:issue-15318.rs
// ignore-cross-compile
#![no_std]
extern crate issue_15318;
pub use issue_15318::ptr;
// @!has issue_15318_2/fn.bar.html \
// '//*[@href="primitive.pointer.html"]' \
// '*mut T'
pub fn bar<T>(ptr: *mut T) {}