rust/src/libsyntax
bors 2af9aabf3a Auto merge of #29441 - Ryman:match_refactor_msg, r=alexcrichton
This helps for the case where a match, such as below:
```rust
let foo = match foo {
    Some(x) => x,
    None => 0
};
```
gets refactored to no longer need the match, but the match keyword has been left accidentally: 

```rust
let foo = match foo.unwrap_or(0);
```

This can be hard to spot as the expression grows more complex.

r? @alexcrichton
2015-10-29 06:56:52 +00:00
..
diagnostics Cleanup interfaces of Name, SyntaxContext and Ident 2015-09-24 23:05:02 +03:00
ext syntax/rustc_front: Simplify VariantData::fields 2015-10-25 18:33:51 +03:00
parse libsyntax: improve error message when a statement is prefixed with a match keyword 2015-10-28 22:32:07 +00:00
print Generalise associative operator parsing 2015-10-27 21:55:04 +02:00
util Fix restrictions when parsing rhs of equalities 2015-10-27 21:55:10 +02:00
abi.rs Port the standard crates to PNaCl/NaCl. 2015-10-28 17:23:28 -05:00
ast.rs syntax/rustc_front: Simplify VariantData::fields 2015-10-25 18:33:51 +03:00
ast_util.rs Generalise associative operator parsing 2015-10-27 21:55:04 +02:00
attr.rs Refactor attr::Stability 2015-10-13 06:01:31 +03:00
codemap.rs Some cleanup of no longer used AST things 2015-10-09 11:53:42 +13:00
config.rs syntax/rustc_front: Simplify VariantData::fields 2015-10-25 18:33:51 +03:00
diagnostic.rs Some cleanup of no longer used AST things 2015-10-09 11:53:42 +13:00
entry.rs Cleanup interfaces of Name, SyntaxContext and Ident 2015-09-24 23:05:02 +03:00
feature_gate.rs syntax/rustc_front: Simplify VariantData::fields 2015-10-25 18:33:51 +03:00
fold.rs syntax/rustc_front: Simplify VariantData::fields 2015-10-25 18:33:51 +03:00
lib.rs Generalise associative operator parsing 2015-10-27 21:55:04 +02:00
owned_slice.rs Fill in some missing parts in the default AST visitor 2015-09-28 23:06:43 +03:00
ptr.rs syntax: remove #![feature(box_syntax, box_patterns)] 2015-04-21 10:07:48 -07:00
show_span.rs std: Stabilize FromStr and parse 2015-01-30 08:52:44 -08:00
std_inject.rs Stop re-exporting AttrStyle's variants and rename them. 2015-10-01 18:03:34 +02:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs Rollup merge of #28033 - Manishearth:compilerexpn, r=eddyb 2015-08-28 03:38:37 +05:30
visit.rs Provide span for visit_enum_def 2015-10-16 17:17:14 +03:00