mirror of https://github.com/rust-lang/rust.git
Test cross crate
This commit is contained in:
parent
c4e61faf2e
commit
8f2af7e010
|
@ -0,0 +1,5 @@
|
|||
#![feature(effects)]
|
||||
|
||||
pub const fn load() -> i32 {
|
||||
0
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
// Regression test for issue #116629.
|
||||
// Check that we render the correct generic params of const fn
|
||||
|
||||
// aux-crate:const_fn=const-fn.rs
|
||||
// edition: 2021
|
||||
#![crate_name = "user"]
|
||||
|
||||
// @has user/fn.load.html
|
||||
// @has - '//pre[@class="rust item-decl"]' "pub const fn load() -> i32"
|
||||
pub use const_fn::load;
|
Loading…
Reference in New Issue