diff options
| author | bors <bors@rust-lang.org> | 2013-09-12 09:51:02 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-09-12 09:51:02 -0700 |
| commit | 248765a746237e7292d30dce072799e076e4f9cf (patch) | |
| tree | 766c03869e68611086f56f54170c1319bb5ac3d1 /src/libsyntax | |
| parent | 5f97dbe092adad110e351da6452dea35fc3b7a46 (diff) | |
| parent | de5b9b9a0bafe493691d350d8184d2a6390289da (diff) | |
| download | rust-248765a746237e7292d30dce072799e076e4f9cf.tar.gz rust-248765a746237e7292d30dce072799e076e4f9cf.zip | |
auto merge of #9135 : jbclements/rust/let-var-hygiene, r=erickt
Fixes issue #9110, changes field_ty element to Name, adds test case, improves fail error message
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index f5de683cb97..7e4cbf8e975 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -47,7 +47,8 @@ impl Eq for Ident { // if it should be non-hygienic (most things are), just compare the // 'name' fields of the idents. Or, even better, replace the idents // with Name's. - fail!(fmt!("not allowed to compare these idents: %?, %?", self, other)); + fail!(fmt!("not allowed to compare these idents: %?, %?. Probably \ + related to issue #6993", self, other)); } } fn ne(&self, other: &Ident) -> bool { |
