mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
kind -> kind()
This commit is contained in:
parent
3a9a4e8b2d
commit
0aa215305a
@ -1009,7 +1009,7 @@ impl PlaceholdersCollector {
|
||||
|
||||
impl<'tcx> TypeVisitor<'tcx> for PlaceholdersCollector {
|
||||
fn visit_ty(&mut self, t: Ty<'tcx>) -> bool {
|
||||
match t.kind {
|
||||
match t.kind() {
|
||||
ty::Placeholder(p) if p.universe == self.universe_index => {
|
||||
self.next_ty_placeholder = self.next_ty_placeholder.max(p.name.as_usize() + 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user