This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
53647845b9
rust
/
tests
/
ui
/
error-codes
/
E0559.rs
9 lines
109 B
Rust
Raw
Normal View
History
Unescape
Escape
Add new error code tests
2016-08-30 13:13:37 +02:00
enum
Field
{
Fool
{
x
:
u32
}
,
}
fn
main
(
)
{
Updated E0559 to new format Refactored a method that printed one suggested field name, into a method that returns an `Option` of a suggestion Updated test cases accordingly
2016-09-04 21:14:41 +02:00
let
s
=
Field
::
Fool
{
joke
:
0
}
;
//~^ ERROR E0559
Add new error code tests
2016-08-30 13:13:37 +02:00
}
Copy permalink