diff options
| author | Michael Goulet <michael@errs.io> | 2024-08-11 19:21:33 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-08-11 19:40:03 -0400 |
| commit | f15997ffeca4c7da66e7de9e348ccb8d3cccc946 (patch) | |
| tree | 2662511eb64f7bb5fab35bb545e6bc1448c696c0 /compiler/rustc_trait_selection/src | |
| parent | b5d2079fb9c9ac9f0fe594f65452b4097e71c2de (diff) | |
| download | rust-f15997ffeca4c7da66e7de9e348ccb8d3cccc946.tar.gz rust-f15997ffeca4c7da66e7de9e348ccb8d3cccc946.zip | |
Remove struct_tail_no_normalization
Diffstat (limited to 'compiler/rustc_trait_selection/src')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/project.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/project.rs b/compiler/rustc_trait_selection/src/traits/project.rs index 0e4233ba7bc..8a17d7ed641 100644 --- a/compiler/rustc_trait_selection/src/traits/project.rs +++ b/compiler/rustc_trait_selection/src/traits/project.rs @@ -1149,10 +1149,10 @@ fn assemble_candidates_from_impls<'cx, 'tcx>( | ty::Never // Extern types have unit metadata, according to RFC 2850 | ty::Foreign(_) - // If returned by `struct_tail_without_normalization` this is a unit struct + // If returned by `struct_tail` this is a unit struct // without any fields, or not a struct, and therefore is Sized. | ty::Adt(..) - // If returned by `struct_tail_without_normalization` this is the empty tuple. + // If returned by `struct_tail` this is the empty tuple. | ty::Tuple(..) // Integers and floats are always Sized, and so have unit type metadata. | ty::Infer(ty::InferTy::IntVar(_) | ty::InferTy::FloatVar(..)) => true, |
