Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
traits
/
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`
}