rust/tests/ui/rfcs/rfc-2632-const-trait-impl/syntax.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
208 B
Rust
Raw Normal View History

2020-01-02 18:31:30 -06:00
// compile-flags: -Z parse-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.
2021-08-25 09:30:09 -05:00
impl ~const T {}