Patrick Walton
|
1c16accfc2
|
libsyntax: Accept use foo as bar; in lieu of use bar as foo;
The old syntax will be removed after a snapshot.
RFC #47.
Issue #16461.
|
2014-08-14 13:24:50 -07:00 |
|
Manish Goregaokar
|
713e87526e
|
Use new attribute syntax in python files in src/etc too (#13478)
|
2014-04-14 21:00:31 +05:30 |
|
Felix S. Klock II
|
88d34ff249
|
fix tests for check-fast.
|
2013-10-01 18:02:39 +02:00 |
|
Felix S. Klock II
|
06f46902ca
|
fix tests for check-fast.
|
2013-10-01 18:02:11 +02:00 |
|
Felix S. Klock II
|
e2be7aca08
|
Expanded test to clarify that the constants *are* matching when they should.
|
2013-10-01 02:03:43 +02:00 |
|
Felix S. Klock II
|
c0599b1bbb
|
Fix typo in comment.
|
2013-10-01 01:55:37 +02:00 |
|
Felix S. Klock II
|
924674202e
|
Throwing in another interesting test case: There is no need to warn
about constants that are (non-trivial) paths rather than just
identifiers, regardless of what case their characters are.
|
2013-10-01 01:51:21 +02:00 |
|
Felix S. Klock II
|
a076fef2b6
|
Add new lint: non_uppercase_pattern_statics, for #7526.
This tries to warn about code like:
```rust
match (0,0) {
(0, aha) => { ... },
...
}
```
where `aha` is actually a static constant, not a binding.
|
2013-10-01 01:44:25 +02:00 |
|