diff options
Diffstat (limited to 'tests/ui/rfc-2632-const-trait-impl/tilde-twice.stderr')
-rw-r--r-- | tests/ui/rfc-2632-const-trait-impl/tilde-twice.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/rfc-2632-const-trait-impl/tilde-twice.stderr b/tests/ui/rfc-2632-const-trait-impl/tilde-twice.stderr new file mode 100644 index 000000000..928d23e8a --- /dev/null +++ b/tests/ui/rfc-2632-const-trait-impl/tilde-twice.stderr @@ -0,0 +1,8 @@ +error: expected identifier, found `~` + --> $DIR/tilde-twice.rs:5:20 + | +LL | struct S<T: ~const ~const Tr>; + | ^ expected identifier + +error: aborting due to previous error + |