mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
ce2ae62d68
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> |
||
---|---|---|
.. | ||
auxiliary | ||
bad-const-type.rs | ||
bad-const-type.stderr | ||
issue-5216.rs | ||
issue-5216.stderr | ||
issue-18118-2.rs | ||
issue-18118-2.stderr | ||
issue-18118.rs | ||
issue-18118.stderr | ||
issue-24843.rs | ||
issue-34194.rs | ||
nested_item_main.rs | ||
refer-to-other-statics-by-value.rs | ||
safe-extern-statics-mut.mir.stderr | ||
safe-extern-statics-mut.rs | ||
safe-extern-statics-mut.thir.stderr | ||
safe-extern-statics.mir.stderr | ||
safe-extern-statics.rs | ||
safe-extern-statics.thir.stderr | ||
static_sized_requirement.rs | ||
static-closures.rs | ||
static-closures.stderr | ||
static-drop-scope.rs | ||
static-drop-scope.stderr | ||
static-extern-type.rs | ||
static-items-cant-move.rs | ||
static-items-cant-move.stderr | ||
static-lifetime-bound.rs | ||
static-lifetime-bound.stderr | ||
static-lifetime.rs | ||
static-lifetime.stderr | ||
static-method-privacy.rs | ||
static-method-privacy.stderr | ||
static-mut-bad-types.rs | ||
static-mut-bad-types.stderr | ||
static-mut-foreign-requires-unsafe.mir.stderr | ||
static-mut-foreign-requires-unsafe.rs | ||
static-mut-foreign-requires-unsafe.thir.stderr | ||
static-mut-not-constant.rs | ||
static-mut-not-constant.stderr | ||
static-mut-not-pat.rs | ||
static-mut-not-pat.stderr | ||
static-mut-requires-unsafe.mir.stderr | ||
static-mut-requires-unsafe.rs | ||
static-mut-requires-unsafe.thir.stderr | ||
static-priv-by-default2.rs | ||
static-priv-by-default2.stderr | ||
static-reference-to-fn-1.rs | ||
static-reference-to-fn-1.stderr | ||
static-reference-to-fn-2.rs | ||
static-reference-to-fn-2.stderr | ||
static-region-bound.rs | ||
static-region-bound.stderr | ||
static-vec-repeat-not-constant.rs | ||
static-vec-repeat-not-constant.stderr | ||
thread-local-in-ctfe.rs | ||
thread-local-in-ctfe.stderr |