rust/tests/ui/sized-hierarchy
David Wood 607eb322a8
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`.
2025-06-16 23:04:36 +00:00
..
auxiliary trait_sel: print {Meta,Pointee}Sized impl headers 2025-06-16 23:04:34 +00:00
alias-bounds.rs hir_analysis: add {Meta,Pointee}Sized bounds 2025-06-16 23:04:33 +00:00
default-bound.rs hir_analysis: add {Meta,Pointee}Sized bounds 2025-06-16 23:04:33 +00:00
default-bound.stderr hir_analysis: add {Meta,Pointee}Sized bounds 2025-06-16 23:04:33 +00:00
default-supertrait.rs hir_analysis: add {Meta,Pointee}Sized bounds 2025-06-16 23:04:33 +00:00
default-supertrait.stderr hir_analysis: add {Meta,Pointee}Sized bounds 2025-06-16 23:04:33 +00:00
elaboration-opt-regions-1.rs trait_sel: skip elaboration of sizedness supertrait 2025-06-16 23:04:36 +00:00
elaboration-opt-regions.rs trait_sel: skip elaboration of sizedness supertrait 2025-06-16 23:04:36 +00:00
extern-type-behind-ptr.rs hir_analysis: add {Meta,Pointee}Sized bounds 2025-06-16 23:04:33 +00:00
impls.rs trait_sel: skip elaboration of sizedness supertrait 2025-06-16 23:04:36 +00:00
impls.stderr trait_sel: skip elaboration of sizedness supertrait 2025-06-16 23:04:36 +00:00
overflow.current.stderr tests: add overflow test 2025-06-16 23:04:35 +00:00
overflow.rs tests: add overflow test 2025-06-16 23:04:35 +00:00
pointee-supertrait.rs hir_analysis: add {Meta,Pointee}Sized bounds 2025-06-16 23:04:33 +00:00
pretty-print-no-feat-dep-has-feat.rs trait_sel: print {Meta,Pointee}Sized impl headers 2025-06-16 23:04:34 +00:00
pretty-print-no-feat-dep-has-feat.stderr trait_sel: print {Meta,Pointee}Sized impl headers 2025-06-16 23:04:34 +00:00
pretty-print-no-feat.rs trait_sel: print {Meta,Pointee}Sized impl headers 2025-06-16 23:04:34 +00:00
pretty-print-no-feat.stderr trait_sel: print {Meta,Pointee}Sized impl headers 2025-06-16 23:04:34 +00:00
pretty-print-opaque-no-feat.rs middle: print {Meta,Pointee}Sized in opaques 2025-06-16 23:04:34 +00:00
pretty-print-opaque-no-feat.stderr middle: print {Meta,Pointee}Sized in opaques 2025-06-16 23:04:34 +00:00
pretty-print-opaque.rs trait_sel: skip elaboration of sizedness supertrait 2025-06-16 23:04:36 +00:00
pretty-print-opaque.stderr trait_sel: skip elaboration of sizedness supertrait 2025-06-16 23:04:36 +00:00
pretty-print.rs trait_sel: print {Meta,Pointee}Sized impl headers 2025-06-16 23:04:34 +00:00
pretty-print.stderr trait_sel: print {Meta,Pointee}Sized impl headers 2025-06-16 23:04:34 +00:00
trait-aliases.rs hir_analysis: add {Meta,Pointee}Sized bounds 2025-06-16 23:04:33 +00:00