diff options
Diffstat (limited to 'src/tools/clippy/tests/ui/unnecessary_fallible_conversions.fixed')
-rw-r--r-- | src/tools/clippy/tests/ui/unnecessary_fallible_conversions.fixed | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/unnecessary_fallible_conversions.fixed b/src/tools/clippy/tests/ui/unnecessary_fallible_conversions.fixed new file mode 100644 index 000000000..9668a6b99 --- /dev/null +++ b/src/tools/clippy/tests/ui/unnecessary_fallible_conversions.fixed @@ -0,0 +1,6 @@ +#![warn(clippy::unnecessary_fallible_conversions)] + +fn main() { + let _: i64 = 0i32.into(); + let _: i64 = 0i32.into(); +} |