symbol_names: treat ReifyShim like VtableShim.#70003
Conversation
|
r? @estebank (rust_highfive has picked a reviewer for you, use r? to override) |
nikomatsakis
left a comment
There was a problem hiding this comment.
Do we need to update any user-facing documentation?
In particular, for the v0 symbol names, we had an RFC, have we documented those symbol names anywhere? I think we should -- and specifically I think we should as part of the rustc book, I guess? But maybe the shim:... stuff is sort of "impl defined"..?
Yeah, and we reserved pretty much all of |
|
@bors r+ OK -- though I still think we should have the docs in some place (presuming that we don't), but that's not a reason to block this PR. |
|
📌 Commit d01622ccc46f5daf75798c58bdd9330a75cbf9ab has been approved by |
|
☔ The latest upstream changes (presumably #70174) made this pull request unmergeable. Please resolve the merge conflicts. |
d01622c to
b7156e8
Compare
|
@bors r=nikomatsakis |
|
📌 Commit b7156e8890ed11a71b6bd1d0041bdb641e5dd86f has been approved by |
This comment has been minimized.
This comment has been minimized.
b7156e8 to
14e0aad
Compare
|
@bors r=nikomatsakis |
|
📌 Commit 14e0aad has been approved by |
…r=nikomatsakis symbol_names: treat ReifyShim like VtableShim. Without this, the `#[track_caller]` tests don't pass with `-Zsymbol-mangling-version=v0`, because there is a symbol name collision between the `ReifyShim` and the original definition. cc @anp
Rollup of 10 pull requests Successful merges: - rust-lang#70003 (symbol_names: treat ReifyShim like VtableShim.) - rust-lang#70051 (Allow `hir().find` to return `None`) - rust-lang#70126 (Fix ICE caused by truncating a negative ZST enum discriminant) - rust-lang#70197 (For issue 53957: revise unit test to focus on underlying bug of 23076.) - rust-lang#70215 (ast: Compress `AttrId` from `usize` to `u32`) - rust-lang#70218 (Fix deprecated Error.description() usage in docs) - rust-lang#70228 (Remove CARGO_BUILD_TARGET from bootstrap.py) - rust-lang#70231 (Add explanation message for E0224) - rust-lang#70232 (Tweak wording for std::io::Read::read function) - rust-lang#70238 (Add a test for out-of-line module passed through a proc macro) Failed merges: r? @ghost
Without this, the
#[track_caller]tests don't pass with-Zsymbol-mangling-version=v0, because there is a symbol name collision between theReifyShimand the original definition.cc @anp