diff options
Diffstat (limited to 'tests/ui/unconstrained-none.rs')
| -rw-r--r-- | tests/ui/unconstrained-none.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/unconstrained-none.rs b/tests/ui/unconstrained-none.rs new file mode 100644 index 00000000000..e180b3163d4 --- /dev/null +++ b/tests/ui/unconstrained-none.rs @@ -0,0 +1,5 @@ +// Issue #5062 + +fn main() { + None; //~ ERROR type annotations needed [E0282] +} |
