Implement debuginfo for unsafe binder types#153017
Implement debuginfo for unsafe binder types#153017rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Conversation
|
r? @fee1-dead rustbot has assigned @fee1-dead. Use Why was this reviewer chosen?The reviewer was selected based on:
|
| if cpp_like_debuginfo { | ||
| output.push_str("unsafe$<"); | ||
| } else { | ||
| output.push_str("unsafe "); |
There was a problem hiding this comment.
Not sure what the type name should be here...
This comment has been minimized.
This comment has been minimized.
59e7a3b to
b608343
Compare
| if cpp_like_debuginfo { | ||
| output.push_str("unsafe$<"); | ||
| } else { | ||
| output.push_str("unsafe "); |
|
@bors r+ |
…ywiser Implement debuginfo for unsafe binder types Fixes: rust-lang#139462 This treats an unsafe binder like a struct with a single field. This way we'd have the binder's distinct type name while keeping the wrapped value accessible. Tracking: - rust-lang#130516
Rollup of 8 pull requests Successful merges: - #149169 (ptr::replace: make calls on ZST null ptr not UB) - #150562 (Fix doc link used in suggestion for pinning self) - #152679 (rustc_expand: improve diagnostics for non-repeatable metavars) - #153017 (Implement debuginfo for unsafe binder types) - #152868 (delete some very old trivial `Box` tests) - #152922 (rustc_public: Make fields that shouldn't be exposed visible only in `rustc_public`) - #153029 (Rename `rustc::pass_by_value` lint as `rustc::disallowed_pass_by_ref`.) - #153051 (Migration of `LintDiagnostic` - part 3)
Rollup of 12 pull requests Successful merges: - #149169 (ptr::replace: make calls on ZST null ptr not UB) - #150562 (Fix doc link used in suggestion for pinning self) - #152418 (`BTreeMap::merge` optimized) - #152679 (rustc_expand: improve diagnostics for non-repeatable metavars) - #152952 (mGCA: improve ogca diagnostic message ) - #152977 (Fix relative path handling for --extern-html-root-url) - #153017 (Implement debuginfo for unsafe binder types) - #152868 (delete some very old trivial `Box` tests) - #152922 (rustc_public: Make fields that shouldn't be exposed visible only in `rustc_public`) - #153032 (Fix attribute parser and kind names.) - #153051 (Migration of `LintDiagnostic` - part 3) - #153060 (Give a better error when updating a submodule fails)
Rollup merge of #153017 - makai410:di-unsafe-binder, r=wesleywiser Implement debuginfo for unsafe binder types Fixes: #139462 This treats an unsafe binder like a struct with a single field. This way we'd have the binder's distinct type name while keeping the wrapped value accessible. Tracking: - #130516
|
@rust-timer build 6051e59 For #153074. |
|
Missing artifact for sha |
|
@rust-timer build 6051e59 |
|
Queued 6051e59 with parent 11ad63a, future comparison URL. |
Fixes: #139462
This treats an unsafe binder like a struct with a single field. This way we'd have the binder's distinct type name while keeping the wrapped value accessible.
Tracking: