-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Reduce the amount of unstable features used in libproc_macro #95308
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
} | ||
|
||
impl<'a, A, R> !Sync for Closure<'a, A, R> {} | ||
impl<'a, A, R> !Send for Closure<'a, A, R> {} | ||
struct Env; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rust-analyzer copies turn Env
into a regular struct too, but don't replace &mut Env
with *mut Env
, which is UB according to stacked borrows.
Looks like rustbot and gha are borked. r? @Mark-Simulacrum as suggested by github |
b06dbfe
to
6702a9b
Compare
6702a9b
to
6eab980
Compare
@bors r+ |
Bors didn't respond. @bors r=Mark-Simulacrum |
@bors r=Mark-Simulacrum |
📌 Commit 7eda975 has been approved by |
Rollup of 6 pull requests Successful merges: - rust-lang#95308 (Reduce the amount of unstable features used in libproc_macro) - rust-lang#95676 (Update RLS) - rust-lang#95769 (Hide cross-crate `#[doc(hidden)]` associated items in trait impls) - rust-lang#95785 (interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internal) - rust-lang#95802 (fix unused constant warning on some Windows targets) - rust-lang#95810 (Use `format-args-capture` and remove unnecessary nested blocks) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This makes it easier to adapt the source for stable when copying it into rust-analyzer to load rustc compiled proc macros.