-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Infer regions for opaque types in borrowck #67681
Infer regions for opaque types in borrowck #67681
Commits on Feb 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 033bd8c - Browse repository at this point
Copy the full SHA 033bd8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f41cf4 - Browse repository at this point
Copy the full SHA 7f41cf4View commit details -
Call
is_freeze
less in unsafety-checkingThis is to avoid cycles when calling `is_freeze` on an opaque type.
Configuration menu - View commit details
-
Copy full SHA for 4af0952 - Browse repository at this point
Copy the full SHA 4af0952View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60970be - Browse repository at this point
Copy the full SHA 60970beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43dae91 - Browse repository at this point
Copy the full SHA 43dae91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9664122 - Browse repository at this point
Copy the full SHA 9664122View commit details -
Configuration menu - View commit details
-
Copy full SHA for 378b5b4 - Browse repository at this point
Copy the full SHA 378b5b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43a3348 - Browse repository at this point
Copy the full SHA 43a3348View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75ac0cc - Browse repository at this point
Copy the full SHA 75ac0ccView commit details -
Infer opaque type regions in borrow checking
We want type checking for function bodies to ignore/erase regions. As such, we need to infer the regions in opaque types in borrow check instead.
Configuration menu - View commit details
-
Copy full SHA for d9b9f00 - Browse repository at this point
Copy the full SHA d9b9f00View commit details -
Configuration menu - View commit details
-
Copy full SHA for edee23e - Browse repository at this point
Copy the full SHA edee23eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fb0254 - Browse repository at this point
Copy the full SHA 2fb0254View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb8c991 - Browse repository at this point
Copy the full SHA bb8c991View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93ac5bc - Browse repository at this point
Copy the full SHA 93ac5bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f23bca7 - Browse repository at this point
Copy the full SHA f23bca7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 728224d - Browse repository at this point
Copy the full SHA 728224dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cfa7d1 - Browse repository at this point
Copy the full SHA 5cfa7d1View commit details -
Improve opaque type lifetime errors
* Use better span for member constraint errors * Avoid a bad suggestion * Don't report member constraint errors if we have other universal region errors.
Configuration menu - View commit details
-
Copy full SHA for 2bd16f3 - Browse repository at this point
Copy the full SHA 2bd16f3View commit details -
Always check upper bounds when choosing member regions
Also correctly calculate what the upper bounds are.
Configuration menu - View commit details
-
Copy full SHA for dd1687e - Browse repository at this point
Copy the full SHA dd1687eView commit details -
Use member constraint for most opaque types in NLL
This ensures that NLL will infer suitable values for regions in opaque types when it's possible.
Configuration menu - View commit details
-
Copy full SHA for e3e5d27 - Browse repository at this point
Copy the full SHA e3e5d27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78e0ab5 - Browse repository at this point
Copy the full SHA 78e0ab5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d9e270 - Browse repository at this point
Copy the full SHA 6d9e270View commit details -
Configuration menu - View commit details
-
Copy full SHA for 223a2ee - Browse repository at this point
Copy the full SHA 223a2eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for edddb62 - Browse repository at this point
Copy the full SHA edddb62View commit details -
Configuration menu - View commit details
-
Copy full SHA for d863978 - Browse repository at this point
Copy the full SHA d863978View commit details