Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
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
()
{}