We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17c1167 commit 1d7192dCopy full SHA for 1d7192d
compiler/rustc_middle/src/ty/fast_reject.rs
@@ -321,6 +321,10 @@ impl DeepRejectCtxt {
321
TreatParams::AsCandidateKey => true,
322
},
323
324
+ ty::Infer(ty::IntVar(_)) => impl_ty.is_integral(),
325
+
326
+ ty::Infer(ty::FloatVar(_)) => impl_ty.is_floating_point(),
327
328
ty::Infer(_) => true,
329
330
// As we're walking the whole type, it may encounter projections
0 commit comments