Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
traits
/
anon_trait_static_method_exe.rs
blob: 8a6a8389cf1265b441093fec7671780729c7fd20 [
file
] [
log
] [
blame
]
//@ run-pass
#![
allow
(
non_camel_case_types
)]
//@ aux-build:anon_trait_static_method_lib.rs
extern
crate anon_trait_static_method_lib
;
use
anon_trait_static_method_lib
::
Foo
;
pub
fn
main
()
{
let
x
=
Foo
::
new
();
println
!(
"{}"
,
x
.
x
);
}