Sign in
fuchsia
/
third_party
/
rust
/
9f7b58f3c94708f344237f826b4f96a659b5fc82
/
.
/
src
/
test
/
ui
/
assoc-inherent.rs
blob: 05329a2714257bed0eaa05d6c11f7c38a09ab84d [
file
] [
log
] [
blame
]
// Test associated types are, until #8995 is implemented, forbidden in inherent impls.
struct
Foo
;
impl
Foo
{
type
Bar
=
isize
;
//~ERROR associated types are not yet supported in inherent impls (see #8995)
}
fn
main
()
{}