We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Sized
1 parent cc9818a commit 4a1746cCopy full SHA for 4a1746c
compiler/rustc_trait_selection/src/traits/select/mod.rs
@@ -2138,7 +2138,7 @@ impl<'tcx> SelectionContext<'_, 'tcx> {
2138
// line will be required anyway and will be correct, just that in the host effect
2139
// builtin impl for sizedness, it won't be `const Sized`.
2140
if def.repr().scalable() {
2141
- return Where(ty::Binder::dummy(Vec::new()));
+ return ty::Binder::dummy(vec![]);
2142
}
2143
2144
if let Some(crit) = def.sizedness_constraint(self.tcx(), sizedness) {
0 commit comments