Skip to content

Commit cf7c05c

Browse files
committed
---
yaml --- r: 169306 b: refs/heads/master c: 2ccab19 h: refs/heads/master v: v3
1 parent 3ea6b38 commit cf7c05c

File tree

4 files changed

+71
-59
lines changed

4 files changed

+71
-59
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 95ee339bd1785ca1918f332c77ed5804b69588c8
2+
refs/heads/master: 2ccab193afb54febda3777f67f56d330b6ae8a2c
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 5b3cd3900ceda838f5798c30ab96ceb41f962534
55
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb

trunk/src/librustc_typeck/check/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4939,7 +4939,7 @@ pub fn check_enum_variants(ccx: &CrateCtxt,
49394939
Some(i) => {
49404940
span_err!(ccx.tcx.sess, v.span, E0081,
49414941
"discriminant value `{}` already exists", disr_vals[i]);
4942-
span_note!(ccx.tcx.sess, ccx.tcx().map.span(variants[i].id.node),
4942+
span_note!(ccx.tcx.sess, ccx.tcx.map.span(variants[i].id.node),
49434943
"conflicting discriminant here")
49444944
}
49454945
None => {}

0 commit comments

Comments
 (0)