mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 19:58:32 +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.
7 lines
149 B
Rust
7 lines
149 B
Rust
//@ compile-flags: -Z parse-crate-root-only
|
|
|
|
#![feature(const_trait_impl)]
|
|
|
|
struct S<T: ~const ~const Tr>;
|
|
//~^ ERROR expected identifier, found `~`
|