Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
use
/
issue-18986.rs
blob: f0b292f2911c00221de6c26f5b6dcbe8bc697a45 [
file
] [
log
] [
blame
]
// aux-build:use-from-trait-xc.rs
extern
crate use_from_trait_xc
;
pub
use
use_from_trait_xc
::
Trait
;
fn
main
()
{
match
()
{
Trait
{
x
:
42
}
=>
()
//~ ERROR expected struct, variant or union type, found trait `Trait`
}
}