diff options
| author | bors <bors@rust-lang.org> | 2017-08-25 12:59:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-08-25 12:59:04 +0000 |
| commit | a4d11495f9e70ee246ab6a61dec8bdc751fb142a (patch) | |
| tree | 6421e52337c0599438cae67f0f0bc0ad9bd6e298 /src/libstd/sys/unix/process/process_unix.rs | |
| parent | ba65645c78a87f1fa5c6d7132130bb3175fbe68b (diff) | |
| parent | 2cd13189ce328af88b61393cd567b6eb3db9ca2b (diff) | |
| download | rust-a4d11495f9e70ee246ab6a61dec8bdc751fb142a.tar.gz rust-a4d11495f9e70ee246ab6a61dec8bdc751fb142a.zip | |
Auto merge of #43700 - gaurikholkar:struct_lifetimes, r=nikomatsakis
Adding E0623 for structs
This is a fix to #43275
The error message is
```
+error[E0623]: lifetime mismatch
+ --> $DIR/ex3-both-anon-regions-both-are-structs.rs:15:12
+ |
+14 | fn foo(mut x: Vec<Ref>, y: Ref) {
+ | --- --- these structs are declared with different lifetimes...
+15 | x.push(y);
+ | ^ ...but data from `y` flows into `x` here
+
+error: aborting due to previous error
```
r? @nikomatsakis
Diffstat (limited to 'src/libstd/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions
