summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/issues/issue-91134.rs
blob: 85362f186cc7f6d24c4e235f67eda07fe97569c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// compile-flags: --test --crate-name=empty_fn --extern=empty_fn --test-args=--test-threads=1
// aux-build:empty-fn.rs
// check-pass
// normalize-stdout-test: "tests/rustdoc-ui/issues" -> "$$DIR"
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
// edition:2021

/// <https://github.com/rust-lang/rust/issues/91134>
///
/// ```
/// extern crate empty_fn;
/// empty_fn::empty();
/// ```
pub struct Something;