summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/issue-85943-no-suggest-unsized-indirection-in-where-clause.rs
blob: 390d8bbdd5326e5124632da5ee4ce19dd40a9aaf (plain)
1
2
3
4
5
6
7
8
9
// Regression test for #85943: should not emit suggestions for adding
// indirection to type parameters in where-clauses when suggesting
// adding `?Sized`.
struct A<T>(T) where T: Send;
struct B(A<[u8]>);
//~^ ERROR the size for values of type

pub fn main() {
}