-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 11 pull requests #127400
Rollup of 11 pull requests #127400
Commits on Jun 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for af9f6f7 - Browse repository at this point
Copy the full SHA af9f6f7View commit details
Commits on Jul 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9e12d91 - Browse repository at this point
Copy the full SHA 9e12d91View commit details
Commits on Jul 4, 2024
-
impl PathBuf::add_extension and Path::with_added_extension
Signed-off-by: tison <wander4096@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 57e76d4 - Browse repository at this point
Copy the full SHA 57e76d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0adb825 - Browse repository at this point
Copy the full SHA 0adb825View commit details
Commits on Jul 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4abc51a - Browse repository at this point
Copy the full SHA 4abc51aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dca61b - Browse repository at this point
Copy the full SHA 7dca61bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fd5b65 - Browse repository at this point
Copy the full SHA 5fd5b65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 291ed59 - Browse repository at this point
Copy the full SHA 291ed59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a35fc4 - Browse repository at this point
Copy the full SHA 5a35fc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76da7ae - Browse repository at this point
Copy the full SHA 76da7aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0f4114 - Browse repository at this point
Copy the full SHA a0f4114View commit details -
add unit tests for extra extension feature
Signed-off-by: tison <wander4096@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3aa2abd - Browse repository at this point
Copy the full SHA 3aa2abdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e9a366 - Browse repository at this point
Copy the full SHA 8e9a366View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27588d1 - Browse repository at this point
Copy the full SHA 27588d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f66af4 - Browse repository at this point
Copy the full SHA 9f66af4View commit details -
Rollup merge of rust-lang#123600 - tisonkun:path_with_extension, r=dt…
…olnay impl PathBuf::add_extension and Path::with_added_extension See the ACP for motivation and discussions - rust-lang/libs-team#368
Configuration menu - View commit details
-
Copy full SHA for 50aa50a - Browse repository at this point
Copy the full SHA 50aa50aView commit details -
Rollup merge of rust-lang#126987 - petrochenkov:atvisord2, r=pnkfelix
out_of_scope_macro_calls: Detect calls inside attributes more precisely Fixes rust-lang#126984.
Configuration menu - View commit details
-
Copy full SHA for 03a9b01 - Browse repository at this point
Copy the full SHA 03a9b01View commit details -
Rollup merge of rust-lang#127107 - mu001999-contrib:dead/enhance-2, r…
…=pnkfelix Improve dead code analysis Fixes rust-lang#120770 1. check impl items later if self ty is private although the trait method is public, cause we must use the ty firstly if it's private 2. mark the adt live if it appears in pattern, like generic argument, this implies the use of the adt 3. based on the above, we can handle the case that private adts impl Default, so that we don't need adding rustc_trivial_field_reads on Default, and the logic in should_ignore_item r? `@pnkfelix`
Configuration menu - View commit details
-
Copy full SHA for 968df26 - Browse repository at this point
Copy the full SHA 968df26View commit details -
Rollup merge of rust-lang#127221 - Urgau:check-cfg-std-diag, r=pnkfelix
Improve well known value check-cfg diagnostic for the standard library This PR adjust the current logic for hidding the rustc/Cargo suggestion to add a value to a well-known name to exclude the standard library and rustc crates. This is done in order to improve the contributor experience, in particular when adding a new target, which often requires adding some cfgs like `target_os` which may not be available yet in stage0. <details> The diagnostic code would look like this. ```text error: unexpected `cfg` condition value: `blable` --> library/core/src/lib.rs:369:7 | 369 | #[cfg(target_os = "blable")] | ^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("blable"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"blable\"))");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration = note: `-D unexpected-cfgs` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unexpected_cfgs)]` ``` </details>
Configuration menu - View commit details
-
Copy full SHA for e9daf66 - Browse repository at this point
Copy the full SHA e9daf66View commit details -
Rollup merge of rust-lang#127333 - compiler-errors:infer_ctxt_like-ag…
…ain, r=lcnr Split `SolverDelegate` back out from `InferCtxtLike` This is because in order to uplift things like the `Generalizer` and other `TypeRelation`s, we want to be able to interface with `InferCtxtLike` (and `InferCtxt` as its implementation), rather that `SolverDelegate`, which only really exists as a hack to be able to define some downstream methods in `rustc_type_ir`. r? lcnr
Configuration menu - View commit details
-
Copy full SHA for a33d82e - Browse repository at this point
Copy the full SHA a33d82eView commit details -
Rollup merge of rust-lang#127363 - GuillaumeGomez:improve-fmt-code-re…
…adability, r=Amanieu Improve readability of some fmt code examples Some indent was weird. Some examples were too long (overall better to keep it to maximum 80 columns, but only changed the most outstanding ones). r? ``@Amanieu``
Configuration menu - View commit details
-
Copy full SHA for 2ecc6be - Browse repository at this point
Copy the full SHA 2ecc6beView commit details -
Rollup merge of rust-lang#127366 - oli-obk:falliblevisitor, r=compile…
…r-errors Use `ControlFlow` results for visitors that are only looking for a single value These visitors all had a `Option<Value>` or `bool` field, that, once set, was never unset or modified again. They have been refactored by removing the field and returning `ControlFlow` directly from the visitor
Configuration menu - View commit details
-
Copy full SHA for 13d015c - Browse repository at this point
Copy the full SHA 13d015cView commit details -
Rollup merge of rust-lang#127368 - YohDeadfall:dots-in-docs, r=fmease
Added dots at the sentence ends of rustc AST doc Just a tiny improvement for the AST documentation by bringing consistency to sentence ends. I intentionally didn't terminate every sentence, there are still some members not having them, but at least there's no mixing style on the type level.
Configuration menu - View commit details
-
Copy full SHA for 34f4857 - Browse repository at this point
Copy the full SHA 34f4857View commit details -
Rollup merge of rust-lang#127369 - Jules-Bertholet:match-ergonomics-2…
…021, r=Nadrieril Match ergonomics 2024: align with RFC again - `&` matches `&mut` on old editions - Add some more tests r? ``@Nadrieril`` cc rust-lang#123076 ``@rustbot`` label A-edition-2024 A-patterns
Configuration menu - View commit details
-
Copy full SHA for 36b4d20 - Browse repository at this point
Copy the full SHA 36b4d20View commit details -
Rollup merge of rust-lang#127383 - estebank:arg-removal, r=compiler-e…
…rrors Use verbose style for argument removal suggestion
Configuration menu - View commit details
-
Copy full SHA for cad0135 - Browse repository at this point
Copy the full SHA cad0135View commit details -
Rollup merge of rust-lang#127393 - clubby789:unreview, r=workingjubilee
Remove clubby789 from review rotation These days I'm unfortunately too busy to be able to take up reviews, and it looks like some PRs have been blocked on this 😓
Configuration menu - View commit details
-
Copy full SHA for 97949a7 - Browse repository at this point
Copy the full SHA 97949a7View commit details