about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/noop_method_call.rs
AgeCommit message (Expand)AuthorLines
2025-07-28Rename trait_of_item -> trait_of_assocCameron Steffen-1/+1
2025-02-08Rustfmtbjorn3-7/+11
2025-01-27Use identifiers in diagnostics more oftenMichael Goulet-1/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-1/+1
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-2/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-11/+7
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+6
2024-07-02Instance::resolve -> Instance::try_resolve, and other nitsMichael Goulet-1/+3
2024-04-29Remove `extern crate rustc_session` from `rustc_lint`.Nicholas Nethercote-0/+1
2024-02-22When encountering `<&T as Clone>::clone(x)` because `T: Clone`, suggest `#[de...Esteban Küber-1/+11
2024-01-23Rename `LintContext::emit_spanned_lint` as `LintContext::emit_span_lint`.Nicholas Nethercote-3/+3
2023-09-28Fix `noop_method_call` detection for new diagnostic itemsJason Newcomb-0/+6
2023-07-23fixDeadbeef-5/+6
2023-07-23make `noop_method_call` warn by defaultDeadbeef-2/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-3/+3
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-5/+2
2023-06-13do not use stringly typed diagnosticsDeadbeef-15/+18
2023-06-11`suspicious_double_ref_op`: don't lint on `.borrow()`Deadbeef-15/+18
2023-04-29add match to diagnostic messagesDeadbeef-3/+3
2023-04-28uplift `clippy::clone_double_ref` as `suspicious_double_ref_op`Deadbeef-18/+63
2023-01-09refactor: cleanupRejyr-2/+0
2023-01-09fix: merge conflictRejyr-1/+0
2023-01-09migrate: `noop_method_call.rs`Rejyr-7/+9
2022-10-23Migrate all diagnosticsNilstrieb-3/+3
2022-10-04We are able to resolve methods even if they need substMichael Goulet-6/+0
2022-10-04Normalize substs before resolving instance in NoopMethodCall lintMichael Goulet-5/+6
2022-10-01Refactor rustc lint APIMaybe Waffle-4/+2
2022-09-05separate the receiver from arguments in HIRTakayuki Maeda-2/+1
2022-07-06Update TypeVisitor pathsAlan Egerton-1/+1
2022-06-30lint: port no-op method call diagnosticsDavid Wood-12/+7
2022-03-30Spellchecking compiler commentsYuri Astrakhan-1/+1
2022-03-16rustc_error: make ErrorReported impossible to constructmark-1/+1
2022-01-21Remove a span from hir::ExprKind::MethodCallCameron Steffen-1/+1
2022-01-15initial revertEllen-1/+1
2021-12-03Use let_else in some more places in rustc_lintest31-6/+4
2021-11-16Use get_diagnostic_name moreCameron Steffen-32/+30
2021-10-06Use get_diagnostic_nameCameron Steffen-3/+4
2021-08-26reviewlcnr-1/+1
2021-08-26update `TypeFlags` to deal with missing ct substslcnr-1/+1
2021-03-03Warn in doc testRyan Levick-1/+1
2021-03-03Fix borrow and derefRyan Levick-12/+6
2021-03-03Remove lint pass on borrow and derefRyan Levick-10/+2
2021-03-03Clean up code rightward driftEsteban Küber-65/+79
2021-03-03Increase accuracy of lint triggerEsteban Küber-23/+35
2021-03-03Improve error messagesRyan Levick-5/+13
2021-03-03Update error messageRyan Levick-3/+6
2021-03-03Improve warningRyan Levick-4/+6
2021-03-03Fix testsRyan Levick-1/+8
2021-03-03Add tests and support two more noop methodsRyan Levick-2/+10
2021-03-03First version of noop-lintRyan Levick-0/+71