diff options
Diffstat (limited to 'src/test/ui/parser/bound-single-question-mark.stderr')
-rw-r--r-- | src/test/ui/parser/bound-single-question-mark.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/parser/bound-single-question-mark.stderr b/src/test/ui/parser/bound-single-question-mark.stderr new file mode 100644 index 000000000..82937a517 --- /dev/null +++ b/src/test/ui/parser/bound-single-question-mark.stderr @@ -0,0 +1,8 @@ +error: expected identifier, found `>` + --> $DIR/bound-single-question-mark.rs:1:10 + | +LL | fn f<T: ?>() {} + | ^ expected identifier + +error: aborting due to previous error + |