Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
associated-types
/
associated-types-issue-20371.rs
blob: ae8a8767d2746f62b64b5852ce2dcfc6f4c6237a [
file
] [
log
] [
blame
]
// run-pass
// Test that we are able to have an impl that defines an associated type
// before the actual trait.
// pretty-expanded FIXME #23616
impl
X
for
f64
{
type
Y
=
isize
;
}
trait
X
{
type
Y
;
}
fn
main
()
{}