Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
associated-inherent-types
/
assoc-inherent-use.rs
blob: c634c89a5405b239969124bdc881669c8bc1ff91 [
file
] [
log
] [
blame
]
//@ check-pass
#![
feature
(
inherent_associated_types
)]
#![
allow
(
incomplete_features
)]
struct
Foo
;
impl
Foo
{
type
Bar
=
isize
;
}
fn
main
()
{
let
x
:
Foo
::
Bar
;
x
=
0isize
;
}