diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-08-29 21:12:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-29 21:12:58 +0200 |
| commit | 3094cc1db00aec531a2b31c1d904453ae2ad8e9c (patch) | |
| tree | 17a46e6773a94449d74d7314fee0c887ff3210c1 /compiler/rustc_interface/src/interface.rs | |
| parent | cd53b4dba535f1fa5ded91595d8aacaf3aef075d (diff) | |
| parent | 72fe79244d39c356e6fa1da4dfa58354983f98f7 (diff) | |
| download | rust-3094cc1db00aec531a2b31c1d904453ae2ad8e9c.tar.gz rust-3094cc1db00aec531a2b31c1d904453ae2ad8e9c.zip | |
Rollup merge of #101141 - compiler-errors:get-trait-ref-is-a-misleading-name, r=oli-obk
Simplify `get_trait_ref` fn used for `virtual_function_elimination` 1. The name `get_trait_ref` is misleading, so I renamed it to something more like `expect_...` because it ICEs if used incorrectly. 2. No need to manually go through the existential trait refs, we already have `.principal()` for that.
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
0 files changed, 0 insertions, 0 deletions
