diff options
Diffstat (limited to 'src/test/ui/parser/trailing-question-in-type.fixed')
-rw-r--r-- | src/test/ui/parser/trailing-question-in-type.fixed | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/parser/trailing-question-in-type.fixed b/src/test/ui/parser/trailing-question-in-type.fixed deleted file mode 100644 index 6ea24484e..000000000 --- a/src/test/ui/parser/trailing-question-in-type.fixed +++ /dev/null @@ -1,10 +0,0 @@ -// run-rustfix - -fn foo() -> Option<i32> { //~ ERROR invalid `?` in type - let x: Option<i32> = Some(1); //~ ERROR invalid `?` in type - x -} - -fn main() { - let _: Option<i32> = foo(); -} |