diff options
Diffstat (limited to 'src/test/ui/mismatched_types/similar_paths.rs')
-rw-r--r-- | src/test/ui/mismatched_types/similar_paths.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/mismatched_types/similar_paths.rs b/src/test/ui/mismatched_types/similar_paths.rs deleted file mode 100644 index 4b9157f39..000000000 --- a/src/test/ui/mismatched_types/similar_paths.rs +++ /dev/null @@ -1,11 +0,0 @@ -enum Option<T> { - Some(T), - None, -} - -pub fn foo() -> Option<u8> { - Some(42_u8) - //~^ ERROR mismatched types [E0308] -} - -fn main() {} |