diff options
| author | bors <bors@rust-lang.org> | 2024-01-13 04:19:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-13 04:19:17 +0000 |
| commit | 5a45dbe2e6b5171a5246491c14fc37f4e7b5f86f (patch) | |
| tree | f0e2205509522e386695e33f02033ec7c8754727 /clippy_lints | |
| parent | e9f87132a12244893121c28598aca3e6fceb3518 (diff) | |
| parent | 09d024117e0ab779e96c66ff994e3b97f5962887 (diff) | |
| download | rust-5a45dbe2e6b5171a5246491c14fc37f4e7b5f86f.tar.gz rust-5a45dbe2e6b5171a5246491c14fc37f4e7b5f86f.zip | |
Auto merge of #118947 - Bryanskiy:delegStep1, r=petrochenkov,lcnr
Delegation implementation: step 1 See https://github.com/rust-lang/rust/issues/118212 for more details. r? `@petrochenkov`
Diffstat (limited to 'clippy_lints')
| -rw-r--r-- | clippy_lints/src/dereference.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/dereference.rs b/clippy_lints/src/dereference.rs index aaef163ad55..8ff54dfcfa0 100644 --- a/clippy_lints/src/dereference.rs +++ b/clippy_lints/src/dereference.rs @@ -830,6 +830,7 @@ impl TyCoercionStability { | TyKind::Infer | TyKind::Typeof(..) | TyKind::TraitObject(..) + | TyKind::InferDelegation(..) | TyKind::Err(_) => Self::Reborrow, }; } |
