Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
rust-lang
/
rust
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
15.6k
Star
119k
Code
Issues
5k+
Pull requests
1.4k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Reduce special treatment for zsts
- #67501
#67501
Merged
bors
merged 13 commits into
rust-lang:master
rust-lang/rust:master
from
oli-obk:test-slice-patterns
oli-obk/rust:test-slice-patterns
Copy head branch name to clipboard
Jan 10, 2020
Conversation
Commits
13
(13)
Checks
Files changed
Merged
Reduce special treatment for zsts
#67501
bors
merged 13 commits into
rust-lang:master
rust-lang/rust:master
from
oli-obk:test-slice-patterns
oli-obk/rust:test-slice-patterns
Copy head branch name to clipboard
Commits
Commits on Jan 7, 2020
Automatically prefer integer addresses for zst MPlace
oli-obk
committed
cc0fbdf
View commit details
Copy full SHA for cc0fbdf
Browse repository at this point
Remove a ZST special casing that is not necessary anymore
oli-obk
committed
5b770b0
View commit details
Copy full SHA for 5b770b0
Browse repository at this point
Fix an ICE happening due code assuming that `MPlaceTy` cannot have integer addresses
oli-obk
committed
4a5c35b
View commit details
Copy full SHA for 4a5c35b
Browse repository at this point
Move `to_const_value` from `MPlaceTy` to its only use site
oli-obk
committed
cac6f4c
View commit details
Copy full SHA for cac6f4c
Browse repository at this point
Poison any `MemPlace` created from a zst Operand (or otherwise via `MPlaceTy::dangling`) so you can't get the address back out.
oli-obk
committed
4fbe434
View commit details
Copy full SHA for 4fbe434
Browse repository at this point
Ensure we don't accidentally turn non-zsts into zsts
oli-obk
committed
23b0c47
View commit details
Copy full SHA for 23b0c47
Browse repository at this point
Remove a bunch of dead functions and make some functions private
oli-obk
committed
a1990db
View commit details
Copy full SHA for a1990db
Browse repository at this point
Add warning label to `try_as_mplace`
oli-obk
committed
f7f5952
View commit details
Copy full SHA for f7f5952
Browse repository at this point
Add more documentation
oli-obk
committed
29c372b
View commit details
Copy full SHA for 29c372b
Browse repository at this point
Actually use the poison value
oli-obk
committed
d0b24e5
View commit details
Copy full SHA for d0b24e5
Browse repository at this point
Commits on Jan 9, 2020
Update src/librustc_mir/interpret/place.rs
Show description for e632940
oli-obk
and
RalfJung
authored
e632940
View commit details
Copy full SHA for e632940
Browse repository at this point
Rename `Unsized` to `Meta`
oli-obk
committed
a4fa5bb
View commit details
Copy full SHA for a4fa5bb
Browse repository at this point
Switch assertion order to be more helpful to ppl that encounter them
oli-obk
committed
c5c4fa8
View commit details
Copy full SHA for c5c4fa8
Browse repository at this point
You can’t perform that action at this time.