Sign in
fuchsia
/
third_party
/
rust
/
a7a6dedfe661a6d9d181afeb0fbaa894fcb7362b
/
.
/
src
/
test
/
ui
/
traits
/
trait-as-struct-constructor.rs
blob: 13ebf9d8d6680696af42a528247e67e321153870 [
file
] [
log
] [
blame
]
trait
TraitNotAStruct
{}
fn
main
()
{
TraitNotAStruct
{
value
:
0
};
//~^ ERROR expected struct, variant or union type, found trait `TraitNotAStruct`
}