mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
10 lines
264 B
Rust
10 lines
264 B
Rust
// 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() {
|
|
}
|