diff options
Diffstat (limited to 'src/test/ui/rfc-2632-const-trait-impl/tilde-twice.stderr')
-rw-r--r-- | src/test/ui/rfc-2632-const-trait-impl/tilde-twice.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/rfc-2632-const-trait-impl/tilde-twice.stderr b/src/test/ui/rfc-2632-const-trait-impl/tilde-twice.stderr new file mode 100644 index 000000000..928d23e8a --- /dev/null +++ b/src/test/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 + |