about summary refs log tree commit diff
path: root/src/librustc_lint
AgeCommit message (Expand)AuthorLines
2019-08-24Modifies how Arg, Arm, Field, FieldPattern and Variant are visitedCaio-5/+2
2019-08-20Deprecate using rustc_plugin without the rustc_driver dylib.Simon Sapin-1/+1
2019-08-17less &Ralf Jung-3/+3
2019-08-17drift leftwardRalf Jung-14/+12
2019-08-17Full stopRalf Jung-1/+1
2019-08-17invalid_value: also detect transmute-from-0 (seen in the wild)Ralf Jung-6/+32
2019-08-17multi-variant enums are trickyRalf Jung-1/+3
2019-08-17invalid_value: warn for types with custom valid rangeRalf Jung-2/+18
2019-08-17warn about uninit bools and charsRalf Jung-6/+15
2019-08-17invalid_value: factor finding dangerous inits into separate functionRalf Jung-37/+54
2019-08-15hygiene: `ExpnInfo` -> `ExpnData`Vadim Petrochenkov-1/+1
2019-08-15hygiene: Remove `Option`s from functions returning `ExpnInfo`Vadim Petrochenkov-3/+2
2019-08-15syntax_pos: Introduce a helper for checking whether a span comes from expansionVadim Petrochenkov-5/+5
2019-08-15Remove `Spanned` from `{ast,hir}::FieldPat`Vadim Petrochenkov-3/+3
2019-08-15Remove `Spanned` from `ast::Mac`Vadim Petrochenkov-1/+1
2019-08-14Rollup merge of #63543 - c410-f3r:variant, r=c410-f3rMazdak Farrokhzad-4/+4
2019-08-14Rollup merge of #62984 - nathanwhit:extra_semi_lint, r=varkorMazdak Farrokhzad-0/+55
2019-08-14Merge Variant and Variant_Caio-4/+4
2019-08-12Add lint for excess trailing semicolonsNathan-0/+55
2019-08-12more informative error message from invalid_value lintRalf Jung-19/+41
2019-08-11note down some more future plansRalf Jung-0/+2
2019-08-11add tuple_fields convenience method and use it in a few placesRalf Jung-7/+2
2019-08-11warn for more casesRalf Jung-5/+38
2019-08-11add basic lint testing for misuse of mem::zeroed and mem::uninitializedRalf Jung-0/+60
2019-08-08Return early to avoid failing assertionYuki Okushi-1/+3
2019-08-07Rollup merge of #63163 - bravomikekilo:master, r=cramertjMazdak Farrokhzad-27/+83
2019-08-05Fiddle param env through to `try_eval_bits` in most placesOliver Scherer-1/+1
2019-08-05Don't abort on unevaluated constants without at least tryting to eval themOliver Scherer-1/+1
2019-08-04Rename `ItemImplKind::Type` to `ItemImplKind::TyAlias`varkor-1/+1
2019-08-04Rename `ItemKind::Ty` to `ItemKind::TyAlias`varkor-4/+4
2019-08-03fix tidy problembravomikekilo-2/+11
2019-08-03add new test and add conditional whitespacebravomikekilo-28/+67
2019-08-02Replace "existential" by "opaque"varkor-1/+1
2019-07-31add a pair of whitespace after remove parenthesesbravomikekilo-2/+10
2019-07-30Turn INCOMPLETE_FEATURES into a lint.Mazdak Farrokhzad-3/+35
2019-07-28Deny `unused_lifetimes` through rustbuildVadim Petrochenkov-2/+0
2019-07-28Remove lint annotations in specific crates that are already enforced by rustb...Vadim Petrochenkov-1/+0
2019-07-24syntax_ext: Reuse built-in attribute template checking for macro attributesVadim Petrochenkov-2/+2
2019-07-21normalize use of backticks in compiler messages for librustc_lintSamy Kacimi-10/+10
2019-07-13Make `register_[long_]diagnostics` hygienicMatthew Jasper-1/+1
2019-07-10Auto merge of #62339 - pnkfelix:issue-61188-use-visitor-for-structural-match-...bors-0/+5
2019-07-08future-compat lint for newly handled cases of `#[structural_match]`.Felix S. Klock II-0/+5
2019-07-07Rollup merge of #61883 - zackmdavis:non_ascii_idents_lint, r=ManishearthMazdak Farrokhzad-0/+25
2019-07-07rustc: Remove `dylib` crate type from most rustc cratesAlex Crichton-1/+0
2019-07-06in which the `non_ascii_idents` lint appears (RFC 2457)Zack M. Davis-0/+25
2019-07-06Make WhileTrue into an EarlyLintPass lint.Mazdak Farrokhzad-27/+19
2019-07-06Remove ExprKind::While from HIR.Mazdak Farrokhzad-1/+17
2019-07-05Rollup merge of #62168 - ljedrz:the_culmination_of_hiridification, r=ZoxcMazdak Farrokhzad-14/+14
2019-07-05Rollup merge of #61545 - flip1995:internal_lints, r=oli-obkMazdak Farrokhzad-2/+3
2019-07-04rename hir::map::local_def_id_from_hir_id to local_def_idljedrz-14/+14