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
0650f77dd9defaf352f81c5ee4ee73a1eae942b7
rust/crates/syntax/test_data/parser/err/0029_field_completion.rs

4 lines
24 B
Rust
Raw Normal View History

Improve parsing of incomplete field accesses in preparation for field completion We need to be able to get the receiver even if there is no field name yet, and currently "a." wouldn't get parsed as a field name at all. This seems to help.
2018-12-25 14:48:54 +01:00
fn foo(a: A) {
a.
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 300ms Template: 3ms
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