Skip to content

Commit bd33eb2

Browse files
committed
---
yaml --- r: 170714 b: refs/heads/try c: 2ccab19 h: refs/heads/master v: v3
1 parent e20c7cf commit bd33eb2

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 73a25f55ad748b4d3516417c711b99ce446591af
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 5b3cd3900ceda838f5798c30ab96ceb41f962534
5-
refs/heads/try: 95ee339bd1785ca1918f332c77ed5804b69588c8
5+
refs/heads/try: 2ccab193afb54febda3777f67f56d330b6ae8a2c
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/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)