Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
bad
/
bad-sized.rs
blob: b899c59ff2ea702b31c5f758c7bd7633789c4dd1 [
file
] [
log
] [
blame
]
trait
Trait
{}
pub
fn
main
()
{
let
x
:
Vec
<
dyn
Trait
+
Sized
>
=
Vec
::
new
();
//~^ ERROR only auto traits can be used as additional traits in a trait object
//~| ERROR the size for values of type
//~| ERROR the size for values of type
}