1
Fork 0
rust/src/test/ui/rfc-2632-const-trait-impl/without-tilde.rs

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

7 lines
174 B
Rust
Raw Normal View History

2022-02-21 17:53:16 -08:00
// compile-flags: -Z parse-only
2021-08-27 08:26:35 +00:00
#![feature(const_trait_impl)]
struct S<T: const Tr>;
//~^ ERROR expected one of `!`, `(`, `,`, `=`, `>`, `?`, `for`, `~`, lifetime, or path