]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/issue-27362.rs
Auto merge of #57101 - o01eg:fix-57014, r=alexcrichton
[rust.git] / src / test / rustdoc / issue-27362.rs
1 // aux-build:issue-27362.rs
2 // ignore-cross-compile
3 // ignore-test This test fails on beta/stable #32019
4
5 extern crate issue_27362;
6 pub use issue_27362 as quux;
7
8 // @matches issue_27362/quux/fn.foo.html '//pre' "pub const fn foo()"
9 // @matches issue_27362/quux/fn.bar.html '//pre' "pub const unsafe fn bar()"
10 // @matches issue_27362/quux/struct.Foo.html '//code' "const unsafe fn baz()"