-
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
Rollup of 10 pull requests #121998
Rollup of 10 pull requests #121998
Commits on Feb 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d0873c7 - Browse repository at this point
Copy the full SHA d0873c7View commit details
Commits on Feb 28, 2024
-
Improve assert_matches! documentation
This new documentation tries to avoid to limit the impact of the conceptual pitfall, that the if guard relaxes the constraint, when really it tightens it. This is achieved by changing the text and examples. The previous documentation also chose a rather weird and non-representative example for the if guard, that made it needlessly complicated to understand.
Configuration menu - View commit details
-
Copy full SHA for e478111 - Browse repository at this point
Copy the full SHA e478111View commit details
Commits on Feb 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d2495fa - Browse repository at this point
Copy the full SHA d2495faView commit details
Commits on Mar 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d6438f5 - Browse repository at this point
Copy the full SHA d6438f5View commit details
Commits on Mar 3, 2024
-
Small enhancement to description of From trait
- fix small typo - avoid repetition of formulations
Configuration menu - View commit details
-
Copy full SHA for fb2b918 - Browse repository at this point
Copy the full SHA fb2b918View commit details -
Apply suggestions from code review
Co-authored-by: Josh Stone <cuviper@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c45f0a9 - Browse repository at this point
Copy the full SHA c45f0a9View commit details
Commits on Mar 4, 2024
-
It doesn't need a `Parser` and a `ParseSess`, because the former contains the latter.
Configuration menu - View commit details
-
Copy full SHA for aa38c26 - Browse repository at this point
Copy the full SHA aa38c26View commit details -
Remove
file_path_mapping
param fromParseSess::new
.It's always empty.
Configuration menu - View commit details
-
Copy full SHA for 3996447 - Browse repository at this point
Copy the full SHA 3996447View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d4ebe1 - Browse repository at this point
Copy the full SHA 0d4ebe1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4260f7e - Browse repository at this point
Copy the full SHA 4260f7eView commit details -
Extract an arguments struct for
Builder::then_else_break
Most of this method's arguments are usually or always forwarded as-is to recursive invocations. Wrapping them in a dedicated struct allows us to document each struct field, and lets us use struct-update syntax to indicate which arguments are being modified when making a recursive call.
Configuration menu - View commit details
-
Copy full SHA for 4146136 - Browse repository at this point
Copy the full SHA 4146136View commit details -
Don't run test_get_os_named_thread on win7
This test won't work on windows 7, as the Thread::set_name function is not implemented there (win7 does not provide a documented mechanism to set thread names).
Configuration menu - View commit details
-
Copy full SHA for 9eb927e - Browse repository at this point
Copy the full SHA 9eb927eView commit details -
include feedback from workingjubilee
- Refer to trait directly - small typo in encapsulate Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e463060 - Browse repository at this point
Copy the full SHA e463060View commit details -
Configuration menu - View commit details
-
Copy full SHA for ede25ad - Browse repository at this point
Copy the full SHA ede25adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05e68fa - Browse repository at this point
Copy the full SHA 05e68faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1eedca8 - Browse repository at this point
Copy the full SHA 1eedca8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 748da32 - Browse repository at this point
Copy the full SHA 748da32View commit details -
Rename all
ParseSess
variables/fields/lifetimes aspsess
.Existing names for values of this type are `sess`, `parse_sess`, `parse_session`, and `ps`. `sess` is particularly annoying because that's also used for `Session` values, which are often co-located, and it can be difficult to know which type a value named `sess` refers to. (That annoyance is the main motivation for this change.) `psess` is nice and short, which is good for a name used this much. The commit also renames some `parse_sess_created` values as `psess_created`.
Configuration menu - View commit details
-
Copy full SHA for 80d2bdb - Browse repository at this point
Copy the full SHA 80d2bdbView commit details -
Rollup merge of rust-lang#120976 - matthiaskrgr:constify_TL_statics, …
…r=lcnr constify a couple thread_local statics
Configuration menu - View commit details
-
Copy full SHA for 706fe0b - Browse repository at this point
Copy the full SHA 706fe0bView commit details -
Rollup merge of rust-lang#121683 - fortanix:raoul/lvi_fixes, r=cuviper
Fix LVI tests after frame pointers are enabled by default rust-lang#121203 enables frame pointers by default. This affects LVI mitigations for the `x86_64-fortanix-unknown-sgx` target. LVI remained mitigated correctly, but the tests were too strict. ``@nshyrei`` , ``@jethrogb``
Configuration menu - View commit details
-
Copy full SHA for 8886c31 - Browse repository at this point
Copy the full SHA 8886c31View commit details -
Rollup merge of rust-lang#121703 - compiler-errors:new, r=lcnr
Add a way to add constructors for `rustc_type_ir` types Introduces a module called `rustc_type_ir`, in which we can place traits which are named `Ty`/`Region`/`Const`/etc. which expose constructors for the `rustc_type_ir` types. This means we can construct things `Interner::Ty` with `Ty::new_x(...)`, which is needed to uplift the new trait solver into an interner-agnostic crate. These traits are placed into a *separate* module because they're only intended to be used in interner-agnostic code, and they should mirror the constructors that are provided by the inherent constructor methods in `rustc_middle`. Putting this up for vibe-check mostly. I haven't copied over any of the type constructors, except for one to create bound types for use in the canonicalizer. r? lcnr
Configuration menu - View commit details
-
Copy full SHA for e7bb224 - Browse repository at this point
Copy the full SHA e7bb224View commit details -
Rollup merge of rust-lang#121732 - Voultapher:improve-assert_matches-…
…documentation, r=cuviper Improve assert_matches! documentation This new documentation tries to limit the impact of the conceptual pitfall, that the if guard relaxes the constraint, when really it tightens it. This is achieved by changing the text and examples. The previous documentation also chose a rather weird and non-representative example for the if guard, that made it needlessly complicated to understand.
Configuration menu - View commit details
-
Copy full SHA for 008ab33 - Browse repository at this point
Copy the full SHA 008ab33View commit details -
Rollup merge of rust-lang#121928 - Zalathar:then-else-args, r=Nadrieril
Extract an arguments struct for `Builder::then_else_break` Most of this method's arguments are usually or always forwarded as-is to recursive invocations. Wrapping them in a dedicated struct allows us to document each struct field, and lets us use struct-update syntax to indicate which arguments are being modified when making a recursive call. --- While trying to understand the lowering of `if` expressions, I found it difficult to keep track of the half-dozen arguments passed through to every call to `then_else_break`. I tried switching over to an arguments struct, and I found that it really helps to make sense of what each argument does, and how each call is modifying the arguments. I have some further ideas for how to streamline these recursive calls, but I've kept those out of this PR so that it's a pure refactoring with no behavioural changes.
Configuration menu - View commit details
-
Copy full SHA for 58a0f64 - Browse repository at this point
Copy the full SHA 58a0f64View commit details -
Rollup merge of rust-lang#121939 - jonaspleyer:patch-typo-core-From-d…
…escr, r=workingjubilee Small enhancement to description of From trait - fix small typo - avoid repetition of formulations
Configuration menu - View commit details
-
Copy full SHA for 9d81d4e - Browse repository at this point
Copy the full SHA 9d81d4eView commit details -
Rollup merge of rust-lang#121968 - roblabla:fix-win7, r=jhpratt
Don't run test_get_os_named_thread on win7 This test won't work on windows 7, as the Thread::set_name function is not implemented there (win7 does not provide a documented mechanism to set thread names).
Configuration menu - View commit details
-
Copy full SHA for 4944ab4 - Browse repository at this point
Copy the full SHA 4944ab4View commit details -
Rollup merge of rust-lang#121969 - nnethercote:ParseSess-cleanups, r=…
…wesleywiser `ParseSess` cleanups The main change here is to rename all `ParseSess` values as `psess`. Plus a few other small cleanups. r? `@wesleywiser`
Configuration menu - View commit details
-
Copy full SHA for 13b9712 - Browse repository at this point
Copy the full SHA 13b9712View commit details -
Rollup merge of rust-lang#121977 - Lee-Janggun:master, r=WaffleLapkin
Doc: Fix incorrect reference to integer in Atomic{Ptr,Bool}::as_ptr. I am assuming "resulting integer" is an error, since we are talking about pointers and booleans here. Seems like it was missed while copy & pasting the docs from the integer versions. I also checked the rest of the docs, and this was the only mention of integers.
Configuration menu - View commit details
-
Copy full SHA for c83ca5b - Browse repository at this point
Copy the full SHA c83ca5bView commit details -
Rollup merge of rust-lang#121994 - wesleywiser:update_musl_version_do…
…cs, r=ehuss Update platform-support.md with supported musl version This just reflects the current status quo, there is no actual change here since the update to musl 1.2.3 occurred in rust-lang#107129 and was approved in rust-lang/compiler-team#572. I also normalized all mentions of musl libc to "musl" (non-capitalized per the project's site and Wikipedia page). r? ``@ehuss``
Configuration menu - View commit details
-
Copy full SHA for 5e13bc4 - Browse repository at this point
Copy the full SHA 5e13bc4View commit details