mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 12:07:40 +00:00

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.
8 lines
211 B
Rust
8 lines
211 B
Rust
//@ check-pass
|
|
//@ compile-flags: -Z parse-crate-root-only
|
|
|
|
impl <*const u8>::AssocTy {} // OK
|
|
impl <Type as Trait>::AssocTy {} // OK
|
|
impl <'a + Trait>::AssocTy {} // OK
|
|
impl <<Type>::AssocTy>::AssocTy {} // OK
|