Skip to content

Commit 52314c8

Browse files
committed
1 parent caf4a4a commit 52314c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# NOTE: Keep in sync with nightly date on README
22
[toolchain]
3-
channel = "nightly-2022-01-26"
3+
channel = "nightly-2022-02-15"
44
components = ["llvm-tools-preview", "rustc-dev"]

src/mapping.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ impl NameMapping {
382382
Closure |
383383
Generator => None,
384384
},
385-
PrimTy(_) | SelfTy(_, _) => Some(&mut self.type_map),
385+
PrimTy(_) | SelfTy { .. } => Some(&mut self.type_map),
386386
SelfCtor(_) | Local(_) => Some(&mut self.value_map),
387387
_ => None,
388388
};

0 commit comments

Comments
 (0)