-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Refactor interning to properly mark memory as mutable or immutable #58351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
8d5728a
Fixmes and style fixes
oli-obk 4b6f386
Make interning explicitly care about types and the mutability of memory
oli-obk 21b1bd6
Prevent cyclic locks of `alloc_map`
oli-obk 870a6dc
Don't ICE when pattern matching packed structs
oli-obk b52f6f4
Elaborate on why we don't look at frozenness
oli-obk d6fa407
Fix rebase fallout
oli-obk 9e3fbcf
Merge `StaticMut` and `Static` logic
oli-obk 13f35de
Elaborate on a comment
oli-obk 104b108
Add and update more tests
oli-obk 98bf737
s/intern/intern_shallow/
oli-obk 5734558
The future is now
oli-obk a18d99a
Fix typo
oli-obk 521d38a
Update to `TyCtxt` lifetime changes
oli-obk 6229a8f
Elaborate some more on what mutability field means what
oli-obk 667f94c
Update ui test output
oli-obk 921f0d9
Outright ignore any alignment in `const_field`
oli-obk fb37bf0
Weave the alignment through `ByRef`
oli-obk fd426a6
Explain existance of `Align` field
oli-obk 62af19b
More FIXMEs
oli-obk 3977cc2
Remove now-unnecessary lifetime
oli-obk ce39fff
Fix comment about alignments
oli-obk cd290c7
packed -> repr(packed)
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.