]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc/issue-27362.rs
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / rustdoc / issue-27362.rs
CommitLineData
f9f354fc 1// aux-build:issue-27362-aux.rs
92a42be0 2// ignore-cross-compile
223e47cc 3
f9f354fc 4extern crate issue_27362_aux;
92a42be0 5
f9f354fc
XL
6pub use issue_27362_aux::*;
7
8// @matches issue_27362/fn.foo.html '//pre' "pub const fn foo()"
9// @matches issue_27362/fn.bar.html '//pre' "pub const unsafe fn bar()"
17df50a5 10// @matches issue_27362/struct.Foo.html '//h4[@class="code-header"]' "const unsafe fn baz()"