about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-20 20:57:28 +0200
committerGitHub <noreply@github.com>2025-05-20 20:57:28 +0200
commitc052d263d067094401852134d372a64adb695e43 (patch)
treecb350b7b2867ec3bd6dec481f12138daec42cc36 /compiler/rustc_codegen_llvm/src
parent7412a7c833c161e38205d4b4e3dbf7d47c106692 (diff)
parent7b5ea0e7f5bece3ddde9a5891c853322cfc6c0f8 (diff)
downloadrust-c052d263d067094401852134d372a64adb695e43.tar.gz
rust-c052d263d067094401852134d372a64adb695e43.zip
Rollup merge of #141289 - compiler-errors:more-self, r=jhpratt
use `Self` alias in self types rather than manually substituting it

Of the rougly 145 uses of `self: Ty` in the standard library, 5 of them don't use `Self` but instead choose to manually "substitute" the `impl`'s self type into the type.

This leads to weird behavior sometimes (https://github.com/rust-lang/rust/issues/140611#issuecomment-2883761300) -- **to be clear**, none of these usages actually trigger any bugs, but it's possible that they may break in the future (or at least lead to lints), so let's just "fix" them proactively.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions