2021-11-22 20:47:58 -06:00
|
|
|
//@ compile-flags: --test --crate-name=empty_fn --extern=empty_fn --test-args=--test-threads=1
|
|
|
|
//@ aux-build:empty-fn.rs
|
|
|
|
//@ check-pass
|
2023-04-29 04:08:33 -05:00
|
|
|
//@ normalize-stdout-test: "tests/rustdoc-ui/issues" -> "$$DIR"
|
2024-06-21 00:15:36 -05:00
|
|
|
//@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
|
2021-11-22 20:47:58 -06:00
|
|
|
//@ edition:2021
|
|
|
|
|
|
|
|
/// <https://github.com/rust-lang/rust/issues/91134>
|
|
|
|
///
|
|
|
|
/// ```
|
|
|
|
/// extern crate empty_fn;
|
|
|
|
/// empty_fn::empty();
|
|
|
|
/// ```
|
|
|
|
pub struct Something;
|