We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4e61fa commit 8f2af7eCopy full SHA for 8f2af7e
tests/rustdoc/inline_cross/auxiliary/const-fn.rs
@@ -0,0 +1,5 @@
1
+#![feature(effects)]
2
+
3
+pub const fn load() -> i32 {
4
+ 0
5
+}
tests/rustdoc/inline_cross/const-fn.rs
@@ -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
6
+#![crate_name = "user"]
7
8
+// @has user/fn.load.html
9
+// @has - '//pre[@class="rust item-decl"]' "pub const fn load() -> i32"
10
+pub use const_fn::load;
0 commit comments