
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
221 B
Rust
8 lines
221 B
Rust
//@ compile-flags: -Z parse-crate-root-only
|
|
//@ check-pass
|
|
|
|
#![feature(const_trait_bound_opt_out)]
|
|
#![feature(const_trait_impl)]
|
|
|
|
// For now, this parses since an error does not occur until AST lowering.
|
|
impl ~const T {}
|