rust/clippy_utils/src
Samuel Tardieu 8b7cfc75dd Rust 1.81 and later support elision with explicit self types
Commit 9ef6e2199c introduced a check to
ensure that Clippy doesn't consider a lifetime present in an explicit
self type as being the default for an elided output lifetime. For
example, elision did not work in the case like:

```rust
  fn func(self: &Rc<Self>, &str) -> &str { … }
```

Since Rust 1.81.0, the lifetime in the self type is now considered
the default for elision. Elision should then be suggested when
appropriate.
2025-01-13 23:34:19 +01:00
..
ast_utils Merge commit '609cd310be' into clippy-subtree-update 2024-12-26 15:15:54 +01:00
mir Make "all fields are shorthand" requirement configurable 2024-12-26 19:36:58 -05:00
ty New lint: manual_ok_err 2025-01-10 18:26:01 +01:00
attrs.rs Merge commit '609cd310be' into clippy-subtree-update 2024-12-26 15:15:54 +01:00
check_proc_macro.rs turn hir::ItemKind::Fn into a named-field variant 2025-01-04 11:35:31 +01:00
comparisons.rs Merge commit 'd9c24d1b1e' into clippyup 2023-07-17 10:22:32 +02:00
consts.rs Merge commit 'ff4a26d442' into clippy-subtree-update 2024-11-28 19:38:59 +01:00
diagnostics.rs Clippy: cfg out validate_diag on release builds 2024-11-08 10:49:54 +01:00
eager_or_lazy.rs Fix tools 2024-12-12 16:43:36 +00:00
higher.rs Make "all fields are shorthand" requirement configurable 2024-12-26 19:36:58 -05:00
hir_utils.rs Merge remote-tracking branch 'upstream/master' into rustup 2025-01-09 18:00:37 +01:00
lib.rs Merge remote-tracking branch 'upstream/master' into rustup 2025-01-09 18:00:37 +01:00
macros.rs Merge commit 'ff4a26d442' into clippy-subtree-update 2024-11-28 19:38:59 +01:00
msrvs.rs Rust 1.81 and later support elision with explicit self types 2025-01-13 23:34:19 +01:00
numeric_literal.rs Merge commit '786fbd6d68' into clippy-subtree-update 2024-11-14 19:35:26 +01:00
paths.rs Move more def paths into clippy_utils::paths 2024-12-29 20:39:43 +01:00
ptr.rs Merge commit '7901289135' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
qualify_min_const_fn.rs Update clippy 2024-12-22 06:12:45 -08:00
source.rs Avoid another &Lrc<..> in a return value. 2024-10-07 13:59:50 +11:00
str_utils.rs Merge commit '7901289135' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
sugg.rs Fix tools 2024-12-12 16:43:36 +00:00
sym_helper.rs Merge commit '928e72dd10' into clippyup 2021-02-25 11:25:22 +01:00
usage.rs Merge commit 'ff4a26d442' into clippy-subtree-update 2024-11-28 19:38:59 +01:00
visitors.rs Merge commit '609cd310be' into clippy-subtree-update 2024-12-26 15:15:54 +01:00