diff options
| author | David Wood <david.wood2@arm.com> | 2025-03-17 10:24:56 +0000 |
|---|---|---|
| committer | David Wood <david.wood2@arm.com> | 2025-06-16 23:04:36 +0000 |
| commit | 607eb322a85c9c6dcc4af6999ecfc9d9d001be21 (patch) | |
| tree | 68909055a4c4f3da52b4fb7ebdec2e9525b00d1f /compiler/rustc_codegen_gcc | |
| parent | 47abf2e144e26e3a4d4f445b8c27a3fd73768e9d (diff) | |
| download | rust-607eb322a85c9c6dcc4af6999ecfc9d9d001be21.tar.gz rust-607eb322a85c9c6dcc4af6999ecfc9d9d001be21.zip | |
trait_sel: skip elaboration of sizedness supertrait
As a performance optimization, skip elaborating the supertraits of `Sized`, and if a `MetaSized` obligation is being checked, then look for a `Sized` predicate in the parameter environment. This makes the `ParamEnv` smaller which should improve compiler performance as it avoids all the iteration over the larger `ParamEnv`.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
