rustdoc supports const re-exports
This commit is contained in:
parent
e91aebc1a3
commit
a1f81ff0ad
|
@ -1,10 +1,10 @@
|
|||
// aux-build:issue-27362.rs
|
||||
// aux-build:issue-27362-aux.rs
|
||||
// ignore-cross-compile
|
||||
// ignore-test This test fails on beta/stable #32019
|
||||
|
||||
extern crate issue_27362;
|
||||
pub use issue_27362 as quux;
|
||||
extern crate issue_27362_aux;
|
||||
|
||||
// @matches issue_27362/quux/fn.foo.html '//pre' "pub const fn foo()"
|
||||
// @matches issue_27362/quux/fn.bar.html '//pre' "pub const unsafe fn bar()"
|
||||
// @matches issue_27362/quux/struct.Foo.html '//code' "const unsafe fn baz()"
|
||||
pub use issue_27362_aux::*;
|
||||
|
||||
// @matches issue_27362/fn.foo.html '//pre' "pub const fn foo()"
|
||||
// @matches issue_27362/fn.bar.html '//pre' "pub const unsafe fn bar()"
|
||||
// @matches issue_27362/struct.Foo.html '//code' "const unsafe fn baz()"
|
||||
|
|
Loading…
Reference in New Issue