Skip to content

Commit f0c1991

Browse files
committed
---
yaml --- r: 47283 b: refs/heads/try c: a0866d0 h: refs/heads/master i: 47281: 6460fe0 47279: a1aa6be v: v3
1 parent 3893345 commit f0c1991

File tree

10 files changed

+12
-11
lines changed

10 files changed

+12
-11
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: 3bbcac322669cff3abde5be937cc4ec3860f3985
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
5-
refs/heads/try: f460c2adf8223fdff2eaa039af8781bcba11e587
5+
refs/heads/try: a0866d0166283ffca0ce6ded21ba11ffb73f9554
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/librustc/middle/resolve.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4842,7 +4842,8 @@ pub impl Resolver {
48424842
48434843
if vec::len(values) > 0 &&
48444844
values[smallest] != uint::max_value &&
4845-
values[smallest] < str::len(name) + 2 {
4845+
values[smallest] < str::len(name) + 2 &&
4846+
maybes[smallest] != name.to_owned() {
48464847
48474848
Some(vec::swap_remove(&mut maybes, smallest))
48484849

branches/try/src/test/compile-fail/alt-join.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ fn my_fail() -> ! { fail!(); }
1616
fn main() {
1717
match true { false => { my_fail(); } true => { } }
1818

19-
log(debug, x); //~ ERROR unresolved name: x
19+
log(debug, x); //~ ERROR unresolved name: `x`.
2020
let x: int;
2121
}

branches/try/src/test/compile-fail/bad-expr-path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// error-pattern: unresolved name: m1::a
11+
// error-pattern: unresolved name: `m1::a`. Did you mean: `args`?
1212

1313
mod m1 {}
1414

branches/try/src/test/compile-fail/bad-expr-path2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// error-pattern: unresolved name: m1::a
11+
// error-pattern: unresolved name: `m1::a`. Did you mean: `args`?
1212

1313
mod m1 {
1414
pub mod a {}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
// error-pattern: unresolved name: this_does_nothing_what_the
1+
// error-pattern: unresolved name: `this_does_nothing_what_the`.
22
fn main() { debug!("doing"); this_does_nothing_what_the; debug!("boing"); }
33

branches/try/src/test/compile-fail/issue-1476.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
// except according to those terms.
1010

1111
fn main() {
12-
log(error, x); //~ ERROR unresolved name: x
12+
log(error, x); //~ ERROR unresolved name: `x`.
1313
}

branches/try/src/test/compile-fail/issue-3021-b.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn siphash(k0 : u64) {
1919
impl siphash {
2020
fn reset(&mut self) {
2121
self.v0 = k0 ^ 0x736f6d6570736575; //~ ERROR attempted dynamic environment-capture
22-
//~^ ERROR unresolved name: k0
22+
//~^ ERROR unresolved name: `k0`.
2323
}
2424
}
2525
}

branches/try/src/test/compile-fail/issue-3021-d.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ fn siphash(k0 : u64, k1 : u64) -> siphash {
3131
impl siphash for sipstate {
3232
fn reset() {
3333
self.v0 = k0 ^ 0x736f6d6570736575; //~ ERROR attempted dynamic environment-capture
34-
//~^ ERROR unresolved name: k0
34+
//~^ ERROR unresolved name: `k0`.
3535
self.v1 = k1 ^ 0x646f72616e646f6d; //~ ERROR attempted dynamic environment-capture
36-
//~^ ERROR unresolved name: k1
36+
//~^ ERROR unresolved name: `k1`.
3737
}
3838
fn result() -> u64 { return mk_result(self); }
3939
}

branches/try/src/test/compile-fail/issue-3021.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fn siphash(k0 : u64) -> siphash {
2323
impl siphash for sipstate {
2424
fn reset() {
2525
self.v0 = k0 ^ 0x736f6d6570736575; //~ ERROR attempted dynamic environment-capture
26-
//~^ ERROR unresolved name: k0
26+
//~^ ERROR unresolved name: `k0`.
2727
}
2828
}
2929
fail!();

0 commit comments

Comments
 (0)