about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src
diff options
context:
space:
mode:
authorEric Holk <ericholk@microsoft.com>2022-08-30 12:39:28 -0700
committerEric Holk <ericholk@microsoft.com>2022-09-12 17:29:11 -0700
commit3c2d20ef0b9cbb6f7c2cbc8112bb2e9f0d8ef755 (patch)
treee555bae1feaac43a6ce41c8ff70a0baf1ebda89c /compiler/rustc_trait_selection/src
parentddfcca48c679b1cd9c8415c4d5e7de8259e3b1fb (diff)
downloadrust-3c2d20ef0b9cbb6f7c2cbc8112bb2e9f0d8ef755.tar.gz
rust-3c2d20ef0b9cbb6f7c2cbc8112bb2e9f0d8ef755.zip
Make x.py check work
Diffstat (limited to 'compiler/rustc_trait_selection/src')
-rw-r--r--compiler/rustc_trait_selection/src/traits/select/candidate_assembly.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/select/candidate_assembly.rs b/compiler/rustc_trait_selection/src/traits/select/candidate_assembly.rs
index 83bde1c50e2..a80527f63a0 100644
--- a/compiler/rustc_trait_selection/src/traits/select/candidate_assembly.rs
+++ b/compiler/rustc_trait_selection/src/traits/select/candidate_assembly.rs
@@ -1039,7 +1039,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
             | ty::Ref(_, _, _)
             | ty::FnDef(_, _)
             | ty::FnPtr(_)
-            | ty::Dynamic(_, _)
+            | ty::Dynamic(_, _, _)
             | ty::Closure(_, _)
             | ty::Generator(_, _, _)
             | ty::GeneratorWitness(_)