about summary refs log tree commit diff
path: root/compiler/rustc_privacy/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-09-11 17:03:31 +0200
committerGitHub <noreply@github.com>2023-09-11 17:03:31 +0200
commite7a347baf8de99562d437279e25f45ed03fb3f3a (patch)
tree72a339fe5a11db311a44c8c093610e1460fae8ab /compiler/rustc_privacy/src
parentf30b27a6e86ae15837442621af9261cfd0a123de (diff)
parent9654d5ceaf3c0e916bcc99c2865d374595becc54 (diff)
downloadrust-e7a347baf8de99562d437279e25f45ed03fb3f3a.tar.gz
rust-e7a347baf8de99562d437279e25f45ed03fb3f3a.zip
Rollup merge of #115727 - fee1-dead-contrib:effect-fallback, r=oli-obk
Implement fallback for effect param

r? `@oli-obk` or `@lcnr`

tracking issue for this ongoing work: https://github.com/rust-lang/rust/issues/110395
Diffstat (limited to 'compiler/rustc_privacy/src')
-rw-r--r--compiler/rustc_privacy/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_privacy/src/lib.rs b/compiler/rustc_privacy/src/lib.rs
index aedc7b22725..1c2303ae9e0 100644
--- a/compiler/rustc_privacy/src/lib.rs
+++ b/compiler/rustc_privacy/src/lib.rs
@@ -836,7 +836,7 @@ impl ReachEverythingInTheInterfaceVisitor<'_, '_> {
                         self.visit(self.ev.tcx.type_of(param.def_id).instantiate_identity());
                     }
                 }
-                GenericParamDefKind::Const { has_default } => {
+                GenericParamDefKind::Const { has_default, .. } => {
                     self.visit(self.ev.tcx.type_of(param.def_id).instantiate_identity());
                     if has_default {
                         self.visit(