Revive tests
This commit is contained in:
parent
f3d96e9391
commit
0a3a6087fb
4 changed files with 28 additions and 0 deletions
6
src/test/ui/rfc-2632-const-trait-impl/without-tilde.rs
Normal file
6
src/test/ui/rfc-2632-const-trait-impl/without-tilde.rs
Normal file
|
@ -0,0 +1,6 @@
|
|||
// compiler-flags: -Z parse-only
|
||||
|
||||
#![feature(const_trait_impl)]
|
||||
|
||||
struct S<T: const Tr>;
|
||||
//~^ ERROR expected one of `!`, `(`, `,`, `=`, `>`, `?`, `for`, `~`, lifetime, or path
|
Loading…
Add table
Add a link
Reference in a new issue