]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/types.rs
Auto merge of #68717 - petrochenkov:stabexpat, r=varkor
[rust.git] / tests / ui / types.rs
index 6f48080ceddb7f023e3dd7a902b5031233a262b1..b16e9e538b106a4c4fcb0a802ada71239501a6cb 100644 (file)
@@ -1,6 +1,7 @@
 // run-rustfix
 
 #![allow(dead_code, unused_variables)]
+#![warn(clippy::cast_lossless)]
 
 // should not warn on lossy casting in constant types
 // because not supported yet