This commit is contained in:
Deadbeef 2021-07-24 15:48:51 +08:00
parent 7e6db83b14
commit 36ace4c0ad
No known key found for this signature in database
GPG key ID: 027DF9338862ADDD
2 changed files with 7 additions and 2 deletions

View file

@ -1015,6 +1015,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
(result, dep_node)
}
#[instrument(level = "debug", skip(self))]
fn filter_impls(
&mut self,
candidate: SelectionCandidate<'tcx>,
@ -1031,7 +1032,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
// auto trait impl
AutoImplCandidate(..) => {}
// FIXME check if this is right, but this would allow Sized impls
BuiltinCandidate { .. } => {}
// BuiltinCandidate { .. } => {}
_ => {
// reject all other types of candidates
return Err(Unimplemented);