diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/run-make-fulldeps/issue-22131/foo.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/issue-22131/foo.rs b/src/test/run-make-fulldeps/issue-22131/foo.rs new file mode 100644 index 000000000..33255d768 --- /dev/null +++ b/src/test/run-make-fulldeps/issue-22131/foo.rs @@ -0,0 +1,5 @@ +/// ```rust +/// assert_eq!(foo::foo(), 1); +/// ``` +#[cfg(feature = "bar")] +pub fn foo() -> i32 { 1 } |