about summary refs log tree commit diff
path: root/compiler/rustc_ty_utils
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-10-10 13:43:41 +0530
committerGitHub <noreply@github.com>2022-10-10 13:43:41 +0530
commit58d533dfc12f9ecd2bf1afa2837b6221a8ddbfdf (patch)
tree1eb73afa5f4d38bb3990a84d1015fca84836276d /compiler/rustc_ty_utils
parent0c17324c92b69d9052e846b4a89bc89c5f5da5ff (diff)
parent8b9a1f1f4edeb897cf363b617c65c50c940abffd (diff)
downloadrust-58d533dfc12f9ecd2bf1afa2837b6221a8ddbfdf.tar.gz
rust-58d533dfc12f9ecd2bf1afa2837b6221a8ddbfdf.zip
Rollup merge of #102786 - compiler-errors:no-tuple-candidate, r=lcnr
Remove tuple candidate, nothing special about it

r? `@lcnr` you mentioned this during the talk you gave i think
Diffstat (limited to 'compiler/rustc_ty_utils')
-rw-r--r--compiler/rustc_ty_utils/src/instance.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_ty_utils/src/instance.rs b/compiler/rustc_ty_utils/src/instance.rs
index 5ed40515d8a..416c1ec510b 100644
--- a/compiler/rustc_ty_utils/src/instance.rs
+++ b/compiler/rustc_ty_utils/src/instance.rs
@@ -267,8 +267,7 @@ fn resolve_associated_item<'tcx>(
         | traits::ImplSource::DiscriminantKind(..)
         | traits::ImplSource::Pointee(..)
         | traits::ImplSource::TraitUpcasting(_)
-        | traits::ImplSource::ConstDestruct(_)
-        | traits::ImplSource::Tuple => None,
+        | traits::ImplSource::ConstDestruct(_) => None,
     })
 }