summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-2632-const-trait-impl/syntax.rs
blob: 7ac2458e3992850d051422629f17de153eca752f (plain)
1
2
3
4
5
6
7
8
// 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.
impl ~const T {}