diff options
| author | bors <bors@rust-lang.org> | 2018-10-19 22:54:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-10-19 22:54:14 +0000 |
| commit | 42dde960f95222ffd8c356e0f7841cd22294a6c9 (patch) | |
| tree | 315f1c52471fc775ee057c987a0c5d69f20a4b05 /src/libsyntax/parse/parser.rs | |
| parent | 78ff609d7375ee2a2c6d0222776ac612eb1b75be (diff) | |
| parent | c294ec640be6b4cdd3b4922a622a6c12f6078b1d (diff) | |
| download | rust-42dde960f95222ffd8c356e0f7841cd22294a6c9.tar.gz rust-42dde960f95222ffd8c356e0f7841cd22294a6c9.zip | |
Auto merge of #55162 - nikomatsakis:issue-54902-underscore-bound, r=tmandry
handle underscore bounds in unexpected places Per the discussion on #54902, I made it a hard error to use lifetime bounds in various places where they used to be permitted: - `where Foo: Bar<'_>` for example I also moved error reporting to HIR lowering and added `Error` variants to let us suppress downstream errors that result. I (imo) improved the error message wording to be clearer, as well. In the process, I fixed the ICE in #52098. Fixes #54902 Fixes #52098
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions
