granite-rust/tests/ui/traits/const-traits/syntax.rs

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

9 lines
221 B
Rust
Raw Permalink Normal View History

//@ compile-flags: -Z parse-crate-root-only
2020-01-02 16:31:30 -08:00
//@ 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 14:30:09 +00:00
impl ~const T {}