diff options
| author | bors <bors@rust-lang.org> | 2017-07-28 16:03:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-07-28 16:03:32 +0000 |
| commit | eba9d7f08ce5c90549ee52337aca0010ad566f0d (patch) | |
| tree | 4ff20139e891f312b0cfdf5c133a8e880c9a6c81 /src/rustllvm/PassWrapper.cpp | |
| parent | e2b5d7e6b37208b241d5aacd77cb245b362c7ff5 (diff) | |
| parent | 4fb1808ab6e8a232be17ba3e74e27fa08bd4f28d (diff) | |
| download | rust-eba9d7f08ce5c90549ee52337aca0010ad566f0d.tar.gz rust-eba9d7f08ce5c90549ee52337aca0010ad566f0d.zip | |
Auto merge of #43298 - gaurikholkar:lifetime_errors, r=estebank
improve case with both anonymous lifetime parameters #43269
This is a fix to #43269.
Sample output message-
```
error[E0623]: lifetime mismatch
--> $DIR/ex3-both-anon-regions.rs:12:12
|
11 | fn foo(x: &mut Vec<&u8>, y: &u8) {
| --- --- these references must have the same lifetime
12 | x.push(y);
| ^ data from `y` flows into `x` here
error: aborting due to 2 previous errors
```
r? @nikomatsakis
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
