diff options
| author | bors <bors@rust-lang.org> | 2020-12-13 10:52:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-12-13 10:52:29 +0000 |
| commit | 057937bddac3f43a46dfc07ee2d9fa59de7b7ca9 (patch) | |
| tree | 70c2b453a1dc7a1ab5fcd1b5e81f105eb253a2bc /src/test/ui/iterators/iter-count-overflow-debug.rs | |
| parent | d149b6579fb118ea75b16cb7a6afa62695d88992 (diff) | |
| parent | 1e27b65d8e877fd33ff8de20c359282577b8956c (diff) | |
| download | rust-057937bddac3f43a46dfc07ee2d9fa59de7b7ca9.tar.gz rust-057937bddac3f43a46dfc07ee2d9fa59de7b7ca9.zip | |
Auto merge of #79668 - coolreader18:recover-const-impl, r=petrochenkov
Recover on `const impl<> X for Y` `@leonardo-m` mentioned that `const impl Foo for Bar` could be recovered from in #79287. I'm not sure about the error strings as they are, I think it should probably be something like the error that `expected_one_of_not_found` makes + the suggestion to flip the keywords, but I'm not sure how exactly to do that. Also, I decided not to try to handle `const unsafe impl` or `unsafe const impl` cause I figured that `unsafe impl const` would be pretty rare anyway (if it's even valid?), and it wouldn't be worth making the code more messy.
Diffstat (limited to 'src/test/ui/iterators/iter-count-overflow-debug.rs')
0 files changed, 0 insertions, 0 deletions
