diff options
| author | bors <bors@rust-lang.org> | 2017-07-29 19:41:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-07-29 19:41:53 +0000 |
| commit | cfe1668ca3ddb3dc57b1af319e258a16664486fa (patch) | |
| tree | a2c7d99d2a919903b2e75ef4d54d6015c8c3fbdf /src/libsyntax/parse/mod.rs | |
| parent | ad36f8febad77942b4f1f0e2ba0f422b69276d7b (diff) | |
| parent | cb93cc62999eda4145a878f26e3fe912b2dcbb22 (diff) | |
| download | rust-cfe1668ca3ddb3dc57b1af319e258a16664486fa.tar.gz rust-cfe1668ca3ddb3dc57b1af319e258a16664486fa.zip | |
Auto merge of #43541 - gaurikholkar:lifetime_errors, r=nikomatsakis
Changing E0623 error message - both anonymous lifetime regions
Changing the error message to
```
error[E0623]: lifetime mismatch
--> $DIR/ex3-both-anon-regions.rs:12:12
|
11 | fn foo(x: &mut Vec<&u8>, y: &u8) {
| --- --- these references are not declared with the same lifetime...
12 | x.push(y);
| ^ ...but data from `y` flows into `x` here
error: aborting due to previous error
```
cc @nikomatsakis @aturon @jonathandturner
r? @nikomatsakis
Diffstat (limited to 'src/libsyntax/parse/mod.rs')
0 files changed, 0 insertions, 0 deletions
