Skip to content

Fix a bug in diagnostics for x as usize < y #45146

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Oct 10, 2017

Conversation

petrochenkov
Copy link
Contributor

Also improve diagnostics for x as usize << y.

Fixes #44406
r? @estebank

Improve diagnostics for `x as usize << y`
@estebank
Copy link
Contributor

estebank commented Oct 9, 2017

I feel that the macro error has room for improvement, we need to come up with an appropriate output for cases where the parser goes awry inside macros.

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Oct 9, 2017

📌 Commit 3e4d9df has been approved by estebank

kennytm added a commit to kennytm/rust that referenced this pull request Oct 10, 2017
Fix a bug in diagnostics for `x as usize < y`

Also improve diagnostics for `x as usize << y`.

Fixes rust-lang#44406
r? @estebank
bors added a commit that referenced this pull request Oct 10, 2017
Rollup of 9 pull requests

- Successful merges: #44775, #45089, #45095, #45099, #45101, #45108, #45116, #45135, #45146
- Failed merges:
@bors bors merged commit 3e4d9df into rust-lang:master Oct 10, 2017
@petrochenkov petrochenkov deleted the lessrec branch June 5, 2019 15:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants