about summary refs log tree commit diff
path: root/src/test/ui/unknown-lint-tool-name.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-6/+0
2021-06-06Don't pass -Z unstable-options by default for UI testsJoshua Nelson-2/+0
- Pass it explicitly where appropriate - Update stderr files and warnings; it turns that unstable-options has far-reaching effects on diagnostics.
2021-03-16Allow registering tool lints with `register_tool`Joshua Nelson-6/+6
Previously, there was no way to add a custom tool prefix, even if the tool itself had registered a lint: ``` #![feature(register_tool)] #![register_tool(xyz)] #![warn(xyz::my_lint)] ``` ``` $ rustc unknown-lint.rs --crate-type lib error[E0710]: an unknown tool name found in scoped lint: `xyz::my_lint` --> unknown-lint.rs:3:9 | 3 | #![warn(xyz::my_lint)] | ^^^ ``` This allows opting-in to lints from other tools using `register_tool`.
2020-01-09Update testsVadim Petrochenkov-0/+4
2018-12-25Remove licensesMark Rousskov-12/+0
2018-10-09Remove `feature(tool_lints)` from testsflip1995-1/+1
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+16