summary refs log tree commit diff
path: root/compiler/rustc_lint_defs/src/lib.rs
AgeCommit message (Expand)AuthorLines
2023-05-27Add warn-by-default lint for local binding shadowing exported glob re-export ...许杰友 Jieyou Xu (Joe)-0/+10
2023-05-05Improve check-cfg diagnostics (part 2)Urgau-1/+2
2023-04-10Fix typos in compilerDaniPopes-1/+1
2023-03-20Lint ambiguous glob re-exports许杰友 Jieyou Xu (Joe)-0/+10
2023-03-11Rollup merge of #108806 - cjgillot:query-lints, r=davidtwcoMatthias Krüger-2/+5
2023-03-06Querify early_lint_checks.Camille GILLOT-1/+2
2023-03-06Querify registered_tools.Camille GILLOT-1/+3
2023-02-22Move the unused extern crate check back to the resolver.Camille GILLOT-0/+7
2023-01-30Allow more deriving on packed structs.Nicholas Nethercote-0/+1
2023-01-21Rollup merge of #106935 - TaKO8Ki:fix-104440, r=cjgillotMichael Goulet-1/+1
2023-01-19Use UnordMap instead of FxHashMap in define_id_collections!().Michael Woerister-2/+3
2023-01-16fix #104440Takayuki Maeda-1/+1
2023-01-10create helper function for `rustc_lint_defs::Level` and remove it's duplicate...ozkanonur-0/+13
2022-10-07Rewrite representabilityCameron Steffen-0/+3
2022-10-01Compute `lint_levels` by definitionDeadbeef-5/+26
2022-09-22Revert "Auto merge of #101620 - cjgillot:compute_lint_levels_by_def, r=oli-obk"Camille GILLOT-26/+5
2022-09-14Compute `lint_levels` by definitionDeadbeef-5/+26
2022-09-12Allow tool-lints to specify a feature-gate tooWim Looman-3/+7
2022-08-28Suggest calling when operator types mismatchMichael Goulet-1/+2
2022-08-22Tidyfinalchild-1/+1
2022-08-22Migrate deprecated_where_clause_location, forbidden_assoc_constraint, keyword...finalchild-2/+2
2022-08-22Use DiagnosticMessage for BufferedEarlyLint.msgfinalchild-4/+4
2022-08-18Add diagnostic translation lints to crates that don't emit them5225225-0/+2
2022-08-02Improve position named arguments lint underline and formatting namesPreston From-1/+13
2022-07-25Generate correct suggestion with named arguments used positionallyPreston From-1/+1
2022-07-20avoid a `Symbol` to `String` conversionTakayuki Maeda-1/+1
2022-07-15Only suggest if span is not erroneousMichael Goulet-1/+1
2022-07-13Emit warning when named arguments are used positionally in formatPreston From-0/+1
2022-07-07Rollup merge of #98507 - xFrednet:rfc-2383-manual-expectation-magic, r=wesley...Dylan DPC-0/+7
2022-07-06Add function to manually fulfill lint expectations (RFC 2383)xFrednet-0/+7
2022-06-22add "was" to pluralize macro and use itTakayuki Maeda-0/+3
2022-06-16Support lint expectations for `--force-warn` lints (RFC 2383)xFrednet-4/+10
2022-06-03Use serde_json for json error messagesbjorn3-1/+3
2022-05-20Lint single-use-lifetimes on the AST.Camille GILLOT-1/+15
2022-04-27Plumb through rustc_lint_defs::Level as enum rather than string.Jeremy Fitzhardinge-0/+7
2022-04-20Auto merge of #96082 - michaelwoerister:less_impl_stable_hash_via_hash, r=com...bors-3/+2
2022-04-19Rollup merge of #96086 - jsgf:remove-extern-location, r=davidtwcoDylan DPC-9/+0
2022-04-19incr. comp.: Don't export impl_stable_hash_via_hash!() and warn about using it.Michael Woerister-3/+2
2022-04-17Lint elided lifetimes in path on the AST.Camille GILLOT-0/+1
2022-04-15Remove `--extern-location` and all associated codeJeremy Fitzhardinge-9/+0
2022-04-05span: move `MultiSpan`David Wood-1/+2
2022-03-15Rollup merge of #94958 - est31:pluralize, r=oli-obkMatthias Krüger-0/+6
2022-03-15Support other types of pluralization in pluralize macroest31-0/+6
2022-03-14Rollup merge of #94670 - xFrednet:rfc-2383-expect-impl-after-party, r=flip199...Matthias Krüger-3/+5
2022-03-07Fix typos in `LintExpectationId` docsxFrednet-3/+5
2022-03-05Change to lintJack Huey-0/+1
2022-03-05Improve unexpected_cfgs lint when their is no value expectedLoïc BRANSTETT-1/+1
2022-03-02Address review commentsxFrednet-2/+2
2022-03-02Reduced the size of `LintExpectationId` by 12 bytes (RFC-2383)xFrednet-5/+9
2022-03-02Test `expect` with `forbid` and fix doc errors (RFC-2383)xFrednet-7/+5