diff options
| author | bors <bors@rust-lang.org> | 2017-06-07 10:09:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-06-07 10:09:11 +0000 |
| commit | 37b1f6c4f147382cfb8d66e4cce2b9d5a094d8c1 (patch) | |
| tree | 96fa8f2179e8c2d0ed768f9f8dde7dc07caaacd8 /src/test/run-pass/thinlto | |
| parent | 89fceaa5b09792efb1ef3ab872f6e351f351f0f2 (diff) | |
| parent | ec7195f31f420384bad0c1978a54b1e9e4d8f4c0 (diff) | |
| download | rust-37b1f6c4f147382cfb8d66e4cce2b9d5a094d8c1.tar.gz rust-37b1f6c4f147382cfb8d66e4cce2b9d5a094d8c1.zip | |
Auto merge of #42482 - eddyb:issue-42467, r=nikomatsakis
rustc: T: 'empty always holds for all types. Fixes #42467 by special-casing `ReEmpty` to always hold, even for parameters. The reason this is the case is that `ReEmpty` is the result of inferring a region variable with no constraints attached to it, so there is no lifetime a type would contain which would be strictly shorter. r? @nikomatsakis
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
