diff options
| author | Zhi Qi <qizhi@pingcap.com> | 2023-02-22 09:41:48 +0800 |
|---|---|---|
| committer | Zhi Qi <qizhi@pingcap.com> | 2023-02-22 09:44:26 +0800 |
| commit | ce2ae62d68c01f27e65518e39b4da486f9ff7582 (patch) | |
| tree | e3d3d43f59bd0c6d187fc964b81a7097982cbb0b /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 246eae2fab54a5139365c4e1a08c5724fb385fbf (diff) | |
| download | rust-ce2ae62d68c01f27e65518e39b4da486f9ff7582.tar.gz rust-ce2ae62d68c01f27e65518e39b4da486f9ff7582.zip | |
Convert a hard-warning about named static lifetimes into lint "unused_lifetimes"
Define the `named_static_lifetimes` lint This lint will replace the existing hard-warning. Replace the named static lifetime hard-warning with the new lint Update the UI tests for the `named_static_lifetimes` lint Remove the direct dependency on `rustc_lint_defs` fix build Signed-off-by: Zhi Qi <qizhi@pingcap.com> use "UNUSED_LIFETIMES" instead Signed-off-by: Zhi Qi <qizhi@pingcap.com> update 1 test and fix typo Signed-off-by: Zhi Qi <qizhi@pingcap.com> update tests Signed-off-by: Zhi Qi <qizhi@pingcap.com> fix tests: add extra blank line Signed-off-by: Zhi Qi <qizhi@pingcap.com>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
