about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorZhi Qi <qizhi@pingcap.com>2023-02-22 09:41:48 +0800
committerZhi Qi <qizhi@pingcap.com>2023-02-22 09:44:26 +0800
commitce2ae62d68c01f27e65518e39b4da486f9ff7582 (patch)
treee3d3d43f59bd0c6d187fc964b81a7097982cbb0b /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent246eae2fab54a5139365c4e1a08c5724fb385fbf (diff)
downloadrust-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_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions