about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/deprecated-attrs.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-16/+0
2021-12-15rustdoc: remove `--passes` and `--no-defaults`Peter Jaszkowiak-4/+3
- flags no longer function, see #44136 - adjust tests to match new behavior - removed test issue-42875 (covered regression with --no-defaults) - moved input-format to removed flags - move all removed flags to bottom - note flag removal in command help - remove DefaultPassOption enum (now redundant with `show_coverage`)
2021-03-02Report that `doc(plugins)` doesn't work using diagnostics instead of `println!`Joshua Nelson-0/+4
This also adds a test for the output and fixes `rustc_attr` to properly know that `plugins` is a valid attribute.
2021-03-02Clean up error reporting for deprecated passesJoshua Nelson-5/+11
- Use spans for deprecated attributes - Use a proper diagnostic for unknown passes, instead of error logging - Add tests for unknown passes - Improve some wording in diagnostics
2021-02-28Remove deleted pass from rustdoc test suiteJoshua Nelson-1/+1
`src/test/rustdoc-ui/deprecated-attrs.rs` tells rustdoc to run the `collapse-docs` pass, which no longer exists (it was removed in https://github.com/rust-lang/rust/pull/80261). Rustdoc doesn't actually give a proper diagnostic here; instead it prints an `error!` log. Now that tracing is compiled unconditionally, the log is now being emitted by default, because it's at the error level. rustdoc shouldn't be using `error!` logging for diagnostics in the first place, but in the meantime this change gets the testsuite to pass.
2020-04-19Moving all rustdoc-ui tests to check-passVal Markovic-1/+1
These were all build-pass before and don't seem to need it. Helps with #62277
2019-07-03Migrate compile-pass annotations to build-passYuki Okushi-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-05-14add ui test for rustdoc's deprecated attributesQuietMisdreavus-0/+17