-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Report const eval error inside the query #53821
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
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
7fdf06c
Report const eval error inside the query
oli-obk cce53b3
Forward `TooGeneric` errors
oli-obk 6f84d6e
Layout errors can happen because something was too generic
oli-obk d34232b
Fix rebase fallout
oli-obk 0f97048
Deduplicate all the ~~things~~ errors
oli-obk 73e2b46
Prepare miri for unsized locals
oli-obk b4ee38e
Don't extend `hir::Def` when there's already a dedicated "function-li…
oli-obk d736197
Explain the `Reveal::UserFacing` deduplication trick
oli-obk e6f7f4a
Document error/lint cases in const eval
oli-obk 6a6b330
update tests to changes on rustc master
oli-obk 528c723
More mono items are generated now
oli-obk f4a3e50
Update rustdoc test
oli-obk bf8471a
Rebase fallout in ui output
oli-obk 7c34f2d
Addressed minor issues brought up in review.
alexreg 7717a63
fix a test comment
RalfJung b81302f
for now, just use NULL ptr for unsized locals
RalfJung 94586bc
fix ui tests (rebase fallout)
RalfJung 7ed7fc8
add the lint back to the list, and fix tests
RalfJung d2e682a
preserve const eval error information through trait error system
RalfJung 1c5ff29
Rebase fallout
oli-obk 13d94ee
Explain how unused constants may still cause a hard error
oli-obk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.