This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
cf2dff2b1e
rust
/
tests
/
ui
/
did_you_mean
/
issue-36798.rs
9 lines
101 B
Rust
Raw
Normal View
History
Unescape
Escape
Improve error message and snippet for "did you mean `x`" - Fixes #36164 - Part of #35233 - handles unknown fields - uses UI-style tests - update all related tests (cfail, ui, incremental)
2016-09-28 04:27:23 -05:00
struct
Foo
{
bar
:
u8
}
fn
main
(
)
{
let
f
=
Foo
{
bar
:
22
}
;
Merge cfail and ui tests into ui tests
2017-11-20 06:13:27 -06:00
f
.
baz
;
//~ ERROR no field
Improve error message and snippet for "did you mean `x`" - Fixes #36164 - Part of #35233 - handles unknown fields - uses UI-style tests - update all related tests (cfail, ui, incremental)
2016-09-28 04:27:23 -05:00
}
Reference in New Issue
Copy Permalink