blob: 33c9f2f00cfeeb4654c421c2f20430a8bbe16279 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
trait Foo {
fn dummy(&self) { }
}
// This should emit the less confusing error, not the more confusing one.
fn foo(_x: Foo + Send) {
//~^ ERROR the size for values of type
//~| WARN trait objects without an explicit `dyn` are deprecated
}
fn main() { }
|