diff options
Diffstat (limited to 'src/test/ui/mismatched_types/non_zero_assigned_something.rs')
-rw-r--r-- | src/test/ui/mismatched_types/non_zero_assigned_something.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/mismatched_types/non_zero_assigned_something.rs b/src/test/ui/mismatched_types/non_zero_assigned_something.rs deleted file mode 100644 index d2adbe01c..000000000 --- a/src/test/ui/mismatched_types/non_zero_assigned_something.rs +++ /dev/null @@ -1,9 +0,0 @@ -fn main() { - let _: std::num::NonZeroU64 = 1; - //~^ ERROR mismatched types - //~| HELP consider calling `NonZeroU64::new` - - let _: Option<std::num::NonZeroU64> = 1; - //~^ ERROR mismatched types - //~| HELP consider calling `NonZeroU64::new` -} |