diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-12-04 10:42:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-04 10:42:19 +0100 |
| commit | 9f8e822364e23b500a20fbebc439817c6c59d355 (patch) | |
| tree | 8c3f1bca75fe2892839c8dd52fa99b39048acae5 /src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs | |
| parent | c223a1c10909d7b93fb900fe35fe4bcdc8220246 (diff) | |
| parent | 3827b6451c8cfbab9ec1f21bb385eabfede74022 (diff) | |
| download | rust-9f8e822364e23b500a20fbebc439817c6c59d355.tar.gz rust-9f8e822364e23b500a20fbebc439817c6c59d355.zip | |
Rollup merge of #89701 - tom7980:issue-89566-fix, r=petrochenkov
Updated error message for accidental uses of derive attribute as a crate attribute This partially fixes the original issue #89566 by adding derive to the list of invalid crate attributes and then providing an updated error message however I'm not sure how to prevent the resolution error message from emitting without causing the compiler to just abort when it finds an invalid crate attribute (which I'd prefer not to do so we can find and emit other errors). `@petrochenkov` I have been told you may have some insight on why it's emitting the resolution error though honestly I'm not sure if we need to worry about fixing it as long as we can provide the invalid crate attribute error also (which happens first anyway)
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs')
0 files changed, 0 insertions, 0 deletions
