Skip to content

Commit 0aa2153

Browse files
committed
kind -> kind()
1 parent 3a9a4e8 commit 0aa2153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_traits/src/chalk/lowering.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ impl PlaceholdersCollector {
10091009

10101010
impl<'tcx> TypeVisitor<'tcx> for PlaceholdersCollector {
10111011
fn visit_ty(&mut self, t: Ty<'tcx>) -> bool {
1012-
match t.kind {
1012+
match t.kind() {
10131013
ty::Placeholder(p) if p.universe == self.universe_index => {
10141014
self.next_ty_placeholder = self.next_ty_placeholder.max(p.name.as_usize() + 1);
10151015
}

0 commit comments

Comments
 (0)