-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Remove unneeded call to with_default_session_globals in rustdoc highlight #84953
Remove unneeded call to with_default_session_globals in rustdoc highlight #84953
Conversation
This was added in #75775 - @matklad is there any particular reason you added it? Or just copy/pasting existing code?
Hey look, we were right 😆 |
Who would have guessed? 😆 |
Don't rememeber. I guess, I migrated the old code piece by piece and just forgot to remove this when finally removing the ParseSess. |
r=me with CI passing |
This comment has been minimized.
This comment has been minimized.
@bors: r=jyn514 |
📌 Commit 3c489a3 has been approved by |
…_default_session_globals, r=jyn514 Remove unneeded call to with_default_session_globals in rustdoc highlight This was the origin of the `Span` bug in rust-lang#84176. cc `@Aaron1011` r? `@jyn514`
…_default_session_globals, r=jyn514 Remove unneeded call to with_default_session_globals in rustdoc highlight This was the origin of the `Span` bug in rust-lang#84176. cc ``@Aaron1011`` r? ``@jyn514``
…_default_session_globals, r=jyn514 Remove unneeded call to with_default_session_globals in rustdoc highlight This was the origin of the `Span` bug in rust-lang#84176. cc ```@Aaron1011``` r? ```@jyn514```
…_default_session_globals, r=jyn514 Remove unneeded call to with_default_session_globals in rustdoc highlight This was the origin of the `Span` bug in rust-lang#84176. cc ````@Aaron1011```` r? ````@jyn514````
Rollup of 11 pull requests Successful merges: - rust-lang#84409 (Ensure TLS destructors run before thread joins in SGX) - rust-lang#84500 (Add --run flag to compiletest) - rust-lang#84728 (Add test for suggestion to borrow unsized function parameters) - rust-lang#84734 (Add `needs-unwind` and beginning of support for testing `panic=abort` std to compiletest) - rust-lang#84755 (Allow using `core::` in intra-doc links within core itself) - rust-lang#84871 (Disallows `#![feature(no_coverage)]` on stable and beta (using standard crate-level gating)) - rust-lang#84872 (Wire up tidy dependency checks for cg_clif) - rust-lang#84896 (Handle incorrect placement of parentheses in trait bounds more gracefully) - rust-lang#84905 (CTFE engine: rename copy → copy_intrinsic, move to intrinsics.rs) - rust-lang#84953 (Remove unneeded call to with_default_session_globals in rustdoc highlight) - rust-lang#84987 (small nits) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
…ls, r=pnkfelix Rework SESSION_GLOBALS API Fixes rust-lang#84954. <s>Needs rust-lang#84953 to be merged first (I cherry-picked its commits to have CI pass).</s> (done) r? `@Aaron1011`
…ls, r=oli-obk Rework SESSION_GLOBALS API Fixes rust-lang#84954. <s>Needs rust-lang#84953 to be merged first (I cherry-picked its commits to have CI pass).</s> (done) r? `@Aaron1011`
…ls, r=oli-obk Rework SESSION_GLOBALS API Fixes rust-lang#84954. <s>Needs rust-lang#84953 to be merged first (I cherry-picked its commits to have CI pass).</s> (done) r? ``@Aaron1011``
This was the origin of the
Span
bug in #84176.cc @Aaron1011
r? @jyn514