Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
rust/tests/ui/did_you_mean/issue-36798.rs

9 lines
101 B
Rust
Raw Normal View History

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 19:27:23 +10:00
struct Foo {
bar: u8
}
fn main() {
let f = Foo { bar: 22 };
Merge cfail and ui tests into ui tests
2017-11-20 13:13:27 +01: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 19:27:23 +10:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 3021ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API