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

7 lines
162 B
Rust
Raw Normal View History

Rename `-Zparse-only`. I was surprised to find that running with `-Zparse-only` only parses the crate root file. Other files aren't parsed because that happens later during expansion. This commit renames the option and updates the help message to make this clearer.
2024-11-29 06:05:56 +11:00
//@ compile-flags: -Z parse-crate-root-only
Add tests for newly introduced syntax Also add some (regression) tests for discovered parser oddities
2015-10-17 00:06:25 +03:00
tests: Do not use `-Z parse-only`, continue compilation to test recovery
2019-01-06 18:33:05 +03:00
fn main() {
Add tests for newly introduced syntax Also add some (regression) tests for discovered parser oddities
2015-10-17 00:06:25 +03:00
// see assoc-oddities-1 for explanation
x..if c { a } else { b }[n]; //~ ERROR expected one of
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 3991ms 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