This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
2
Packages
Projects
Releases
Wiki
Activity
Files
b3827e4f3728b77bd3e60587487ebfc3cc8d901b
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
}
Reference in New Issue
Copy Permalink