]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/register-tool-lint.rs
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[rust.git] / src / test / ui / lint / register-tool-lint.rs
1 #![crate_type = "lib"]
2 #![feature(register_tool)]
3 #![register_tool(xyz)]
4 #![warn(xyz::my_lint)] // this should not error
5 #![warn(abc::my_lint)]
6 //~^ ERROR unknown tool name `abc` found in scoped lint
7 //~| HELP add `#![register_tool(abc)]`
8 //~| ERROR unknown tool name `abc`
9 //~| HELP add `#![register_tool(abc)]`