rust/tests
sinkuu f1b0b774e7 Support non-moving usages at match
This `match` is not moving the `String`:

```rust
fn foo(x: Option<String>) -> i32 {
    match x {
        Some(_) => 1,
        None => 2,
    }
}
```

With this change, it will be linted and suggested to add `*` to deref it.

```rust
fn foo(x: &Option<String>) -> i32 {
    match *x {
        Some(_) => 1,
        None => 2,
    }
}
```
2017-02-20 16:45:37 +09:00
..
auxiliary aux -> auxiliary (breaks Windows) 2016-10-04 09:15:03 +05:30
compile-fail remove all //~ from tests 2017-02-08 14:58:07 +01:00
run-pass remove all //~ from tests 2017-02-08 14:58:07 +01:00
ui Support non-moving usages at match 2017-02-20 16:45:37 +09:00
camel_case.rs fallout 2016-08-17 18:35:25 +02:00
cc_seme.rs Run rustfmt 2016-06-10 00:08:14 +02:00
compile-test.rs rustup and compile-fail -> ui test move 2017-02-07 21:05:30 +01:00
consts.rs become rustfmt resistant 2017-01-17 19:27:52 +01:00
dogfood.rs Forbid default warnings in dogfood 2016-10-22 16:16:55 +02:00
ice_exacte_size.rs run rustfmt 2016-12-20 10:20:41 +01:00
issue-825.rs Lint needless take-by-value 2017-02-19 07:59:44 +09:00
matches.rs correctly check exclusive range patterns for overlap 2017-01-30 12:30:16 +01:00
trim_multiline.rs run rustfmt 2016-12-20 10:20:41 +01:00
used_underscore_binding_macro.rs run rustfmt 2017-01-26 11:31:26 +01:00
versioncheck.rs remove rustc-serialize dependency and factor util::cargo out into a crate 2017-01-26 11:31:26 +01:00