rust/compiler/rustc_lint/src
Lamb 3a77bb86ff Compute most of Public/Exported access level in rustc_resolve
Mak DefId to AccessLevel map in resolve for export

hir_id to accesslevel in resolve and applied in privacy
using local def id
removing tracing probes
making function not recursive and adding comments

Move most of Exported/Public res to rustc_resolve

moving public/export res to resolve

fix missing stability attributes in core, std and alloc

move code to access_levels.rs

return for some kinds instead of going through them

Export correctness, macro changes, comments

add comment for import binding

add comment for import binding

renmae to access level visitor, remove comments, move fn as closure, remove new_key

fmt

fix rebase

fix rebase

fmt

fmt

fix: move macro def to rustc_resolve

fix: reachable AccessLevel for enum variants

fmt

fix: missing stability attributes for other architectures

allow unreachable pub in rustfmt

fix: missing impl access level + renaming export to reexport

Missing impl access level was found thanks to a test in clippy
2022-01-09 21:33:14 +00:00
..
nonstandard_style
array_into_iter.rs Keep info on pre-desugaring expression for better "incorrect .await" suggestion 2021-12-13 17:09:16 +00:00
builtin.rs Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obk 2021-12-19 09:31:37 +00:00
context.rs Rollup merge of #91770 - TaKO8Ki:suggest-adding-cfg-test, r=joshtriplett 2021-12-21 08:33:39 +01:00
early.rs Pass real crate-level attributes to pre_expansion_lint 2021-09-26 21:50:50 +00:00
enum_intrinsics_non_enums.rs Use get_diagnostic_name more 2021-11-16 17:14:18 -06:00
hidden_unicode_codepoints.rs Remove unnecessary sigils around Symbol::as_str() calls. 2021-12-15 17:32:14 +11:00
internal.rs Auto merge of #90668 - matthiaskrgr:clippy_nov7, r=jyn514 2021-11-07 20:04:54 +00:00
late.rs Do not pass hir::Crate to lints. 2021-09-30 17:39:54 +02:00
levels.rs Remove unnecessary sigils around Symbol::as_str() calls. 2021-12-15 17:32:14 +11:00
lib.rs Compute most of Public/Exported access level in rustc_resolve 2022-01-09 21:33:14 +00:00
methods.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
non_ascii_idents.rs Remove unnecessary sigils around Symbol::as_str() calls. 2021-12-15 17:32:14 +11:00
non_fmt_panic.rs Remove unnecessary sigils around Symbol::as_str() calls. 2021-12-15 17:32:14 +11:00
nonstandard_style.rs Remove unnecessary sigils around Symbol::as_str() calls. 2021-12-15 17:32:14 +11:00
noop_method_call.rs Use let_else in some more places in rustc_lint 2021-12-03 03:51:47 +01:00
passes.rs Do not pass hir::Crate to lints. 2021-09-30 17:39:54 +02:00
redundant_semicolon.rs
tests.rs
traits.rs Use let_else in some more places in rustc_lint 2021-12-03 03:51:47 +01:00
types.rs Use let_else in some more places in rustc_lint 2021-12-03 03:51:47 +01:00
unused.rs Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obk 2021-12-19 09:31:37 +00:00