Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
parser
/
class-implements-bad-trait.rs
blob: e30c1bc3a7f7bc9bd56faa150f644c5c2ee44fa6 [
file
] [
log
] [
blame
]
class cat
:
nonexistent
{
//~ ERROR expected one of `!` or `::`, found `cat`
let
meows
:
usize
;
new
(
in_x
:
usize
)
{
self
.
meows
=
in_x
;
}
}
fn
main
()
{
let
nyan
=
cat
(
0
);
}