]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-85943-no-suggest-unsized-indirection-in-where-clause.rs
Rollup merge of #105795 - nicholasbishop:bishop-stabilize-efiapi, r=joshtriplett
[rust.git] / tests / ui / suggestions / issue-85943-no-suggest-unsized-indirection-in-where-clause.rs
1 // Regression test for #85943: should not emit suggestions for adding
2 // indirection to type parameters in where-clauses when suggesting
3 // adding `?Sized`.
4 struct A<T>(T) where T: Send;
5 struct B(A<[u8]>);
6 //~^ ERROR the size for values of type
7
8 pub fn main() {
9 }