about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/non_fmt_panic.rs
AgeCommit message (Expand)AuthorLines
2025-07-28use let chains in hir, lint, mirKivooeo-30/+30
2025-03-25Use `Option<Symbol>` in `panic_call`.Nicholas Nethercote-5/+8
2025-02-08Rustfmtbjorn3-4/+8
2025-02-02Convert two `rustc_middle::lint` functions to `Span` methods.Nicholas Nethercote-5/+5
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-7/+9
2024-10-29TypingMode :thinking:lcnr-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-10/+6
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+6
2024-06-14Use is_lang_item more aggressivelyMichael Goulet-4/+4
2024-05-23Remove `LintDiagnostic::msg`León Orell Valerian Liehr-1/+2
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-04-29Remove `extern crate rustc_session` from `rustc_lint`.Nicholas Nethercote-0/+1
2024-03-26panic_str only exists for the migration to 2021 panic macrosRalf Jung-1/+1
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-2/+2
2024-01-23Rename `LintContext::emit_spanned_lint` as `LintContext::emit_span_lint`.Nicholas Nethercote-2/+2
2024-01-23Rename `LintContext::struct_span_lint` as `LintContext::span_lint`.Nicholas Nethercote-1/+1
2024-01-06rustc_span: Optimize syntax context comparisonsVadim Petrochenkov-2/+3
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-3/+3
2023-12-15Don't pass lint back out of lint decoratorMichael Goulet-2/+1
2023-11-24Replace `option.map(cond) == Some(true)` with `option.is_some_and(cond)`David Tolnay-10/+6
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-02-22errors: generate typed identifiers in each crateDavid Wood-9/+9
2023-02-13Use is_str instead of string kind comparisonMichael Goulet-1/+1
2023-01-09refactor: cleanupRejyr-2/+0
2023-01-09migrate: `non_fmt_panic.rs`Rejyr-33/+16
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-1/+1
2022-11-21Stop passing the self-type as a separate argument.Oli Scherer-6/+10
2022-11-21Use ty::List instead of InternalSubstsOli Scherer-7/+2
2022-11-18Rm diagnostic item, use lang itemDeadbeef-1/+1
2022-10-23Migrate all diagnosticsNilstrieb-35/+30
2022-10-07Change InferCtxtBuilder from enter to buildCameron Steffen-15/+13
2022-10-01Refactor rustc lint APIMaybe Waffle-49/+55
2022-06-30lint: port non-fmt-panic diagnosticsDavid Wood-39/+34
2022-05-03Make rustc_parse_format compile on stablebjorn3-1/+4
2022-04-29errors: `span_suggestion` takes `impl ToString`David Wood-5/+5
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-1/+1
2022-01-31Take in account the unreachable! macro in the non_fmt_panic lintLoïc BRANSTETT-3/+22
2022-01-27try apply `rustc_pass_by_value` to `Span`lcnr-1/+1
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-1/+1
2021-12-15Remove `SymbolStr`.Nicholas Nethercote-6/+6
2021-12-09Remove redundant [..]sest31-1/+1
2021-11-16Use get_diagnostic_name moreCameron Steffen-6/+13
2021-10-08clippy::complexity fixesMatthias Krüger-2/+1
2021-10-06Use get_diagnostic_nameCameron Steffen-3/+4
2021-10-02Make diangostic item names consistentCameron Steffen-3/+3
2021-09-20Adjust documentation for compatibility with 2021Mark Rousskov-1/+1
2021-08-17Auto merge of #88083 - m-ou-se:non-fmt-panics-suggest-debug, r=estebankbors-13/+53
2021-08-16Rollup merge of #87967 - m-ou-se:non-fmt-panic-detect-fake-spans, r=cjgillotMara Bos-3/+11
2021-08-16Show correct macro name in non_fmt_panics message.Mara Bos-1/+1