2022-07-10 22:58:54 -05:00
|
|
|
// compile-flags:--test --test-args=--test-threads=1
|
2023-01-05 02:45:44 -06:00
|
|
|
// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR"
|
2022-07-10 22:58:54 -05:00
|
|
|
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
|
|
|
|
// check-pass
|
|
|
|
|
|
|
|
/// ```
|
|
|
|
/// #![deprecated(since = "5.2", note = "foo was rarely used. \
|
|
|
|
/// Users should instead use bar")]
|
|
|
|
/// ```
|
|
|
|
pub fn f() {}
|