-
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 9 pull requests #123036
Rollup of 9 pull requests #123036
Commits on Mar 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d1ba632 - Browse repository at this point
Copy the full SHA d1ba632View commit details -
Don't emit an error about failing to produce a file with a specific name
If user never gave an explicit name
Configuration menu - View commit details
-
Copy full SHA for bf12aa4 - Browse repository at this point
Copy the full SHA bf12aa4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b84326e - Browse repository at this point
Copy the full SHA b84326eView commit details
Commits on Mar 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 08235b1 - Browse repository at this point
Copy the full SHA 08235b1View commit details
Commits on Mar 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 87808e7 - Browse repository at this point
Copy the full SHA 87808e7View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 127c36c - Browse repository at this point
Copy the full SHA 127c36cView commit details -
Configuration menu - View commit details
-
Copy full SHA for db68dc2 - Browse repository at this point
Copy the full SHA db68dc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ed5e67 - Browse repository at this point
Copy the full SHA 8ed5e67View commit details -
add test for ICE: no entry found for key for const function in generi…
…c_const_exprs rust-lang#113133 Fixes rust-lang#113133
Configuration menu - View commit details
-
Copy full SHA for cdea6d8 - Browse repository at this point
Copy the full SHA cdea6d8View commit details -
add test for ICE: min_specialization: Ok(['?0, Const { ty: usize, kin…
…d: Leaf(0x0000000000000000) }]) is not fully resolved rust-lang#113045 Fixes rust-lang#113045
Configuration menu - View commit details
-
Copy full SHA for b151e06 - Browse repository at this point
Copy the full SHA b151e06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6203ebe - Browse repository at this point
Copy the full SHA 6203ebeView commit details -
add test for ICE: no errors encountered even though delay_span_bug is…
…sued, expected ReFree to map to ReEarlyBound rust-lang#108580 Fixes rust-lang#108580
Configuration menu - View commit details
-
Copy full SHA for 5e0d8c3 - Browse repository at this point
Copy the full SHA 5e0d8c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56ea366 - Browse repository at this point
Copy the full SHA 56ea366View commit details -
add tests for ICE in mir building with captured value of unresolved t…
…ype, None in compiler/rustc_mir_build/src/build/expr/as_place.rs rust-lang#110453 Fixes rust-lang#110453
Configuration menu - View commit details
-
Copy full SHA for e800b99 - Browse repository at this point
Copy the full SHA e800b99View commit details -
add tests for ICE: 'broken MIR: bad assignment: NoSolution' on trait …
…with default method and no impls Fixes rust-lang#109869
Configuration menu - View commit details
-
Copy full SHA for e4d816e - Browse repository at this point
Copy the full SHA e4d816eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4719293 - Browse repository at this point
Copy the full SHA 4719293View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cb5347 - Browse repository at this point
Copy the full SHA 2cb5347View commit details
Commits on Mar 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e6918b1 - Browse repository at this point
Copy the full SHA e6918b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3733dcc - Browse repository at this point
Copy the full SHA 3733dccView commit details -
Add needs-unwind for proc macro tests
Rustc gives a warning when compiling proc macros with panic=abort.
Configuration menu - View commit details
-
Copy full SHA for 5f5dcae - Browse repository at this point
Copy the full SHA 5f5dcaeView commit details -
Rollup merge of rust-lang#122842 - pacak:explicit_name, r=michaelwoer…
…ister Don't emit an error about failing to produce a file with a specific name if user never gave an explicit name Fixes rust-lang#122509 You can ask `rustc` to produce some intermediate results with `--emit foo`, this operation comes in two flavors: `--emit asm` and `--emit asm=foo.s`. First one produces one or more `.s` files without any name guarantees, second one renames it into `foo.s`. Second version only works when compiler produces a single file - for asm files this means using a single compilation unit for example. In case compilation produced more than a single file `rustc` runs following check to emit some warnings: ```rust if crate_output.outputs.contains_key(&output_type) { // 2) Multiple codegen units, with `--emit foo=some_name`. We have // no good solution for this case, so warn the user. sess.dcx().emit_warn(errors::IgnoringEmitPath { extension }); } else if crate_output.single_output_file.is_some() { // 3) Multiple codegen units, with `-o some_name`. We have // no good solution for this case, so warn the user. sess.dcx().emit_warn(errors::IgnoringOutput { extension }); } else { // 4) Multiple codegen units, but no explicit name. We // just leave the `foo.0.x` files in place. // (We don't have to do any work in this case.) } ``` Comment in the final `else` branch implies that if user didn't ask for a specific name - there's no need to emit warnings. However because of the internal representation of `crate_output.outputs` - this doesn't work as expected: if user asked to produce an asm file without giving it an implicit name it will contain `Some(None)`. To fix the problem new code actually checks if user gave an explicit name. I think this was an original intentional behavior, at least comments imply that.
Configuration menu - View commit details
-
Copy full SHA for ded16b3 - Browse repository at this point
Copy the full SHA ded16b3View commit details -
Rollup merge of rust-lang#122881 - Bryanskiy:delegation-fixes-2, r=pe…
…trochenkov Delegation: fix ICE on `bound_vars` divergence Fixes rust-lang#122550. Bug was caused by divergence between lowered type and corresponding `bound_vars` in `late_bound_vars_map`. In this patch `bound_vars` calculation for delegation item is moved from `lower_fn_ty` to `resolve_bound_vars` query. r? `@petrochenkov`
Configuration menu - View commit details
-
Copy full SHA for ccc5310 - Browse repository at this point
Copy the full SHA ccc5310View commit details -
Rollup merge of rust-lang#122910 - compiler-errors:unit-struct-in-pat…
…h-pat-only, r=petrochenkov Validate that we're only matching on unit struct for path pattern Resolution doesn't validate that we only really take `CtorKind::Unit` in path patterns, since all it sees is `Res::SelfCtor(def_id)`. Check this instead during pattern typeck. r? petrochenkov Fixes rust-lang#122809
Configuration menu - View commit details
-
Copy full SHA for e9ec442 - Browse repository at this point
Copy the full SHA e9ec442View commit details -
Rollup merge of rust-lang#122970 - cuviper:use-chunk_by, r=Mark-Simul…
…acrum Use `chunk_by` when building `ReverseSccGraph` With stable `chunk_by` in Rust 1.77, this code doesn't need `Itertools::group_by` anymore.
Configuration menu - View commit details
-
Copy full SHA for 9b4ee1b - Browse repository at this point
Copy the full SHA 9b4ee1bView commit details -
Rollup merge of rust-lang#122988 - matthiaskrgr:icetests, r=petrochenkov
add even more tests! Fixes rust-lang#109869 Fixes rust-lang#110453 Fixes rust-lang#109020 Fixes rust-lang#108580 Fixes rust-lang#108220 Fixes rust-lang#113045 Fixes rust-lang#113133 Fixes rust-lang#114464 Fixes rust-lang#116599 Fixes rust-lang#119731
Configuration menu - View commit details
-
Copy full SHA for 877f293 - Browse repository at this point
Copy the full SHA 877f293View commit details -
Rollup merge of rust-lang#122999 - Alexendoo:unpretty-avoid-crash-tes…
…t, r=petrochenkov Fix unpretty UI test when /tmp does not exist On Windows this test fails if e.g. `C:\tmp` is created successfully
Configuration menu - View commit details
-
Copy full SHA for 657dd0b - Browse repository at this point
Copy the full SHA 657dd0bView commit details -
Rollup merge of rust-lang#123001 - Alexendoo:check-attributes, r=oli-obk
Rename `{enter,exit}_lint_attrs` to `check_attributes{,_post}` Several places in Clippy want to check all the attributes of a node, we end up using `hir().attrs()` from several different `check_` functions (e.g. [in our doc lints](https://github.com/rust-lang/rust-clippy/blob/95c62ffae9bbce793f68a6f1473e3fc24af19bdd/clippy_lints/src/doc/mod.rs#L396)) but this is error prone, we recently found that doc lints weren't triggering on struct fields for example I went to add a `check_attributes` function but realised `enter_lint_attrs` is already this, the rename is to encourage their use Also removes `LateContextAndPass::visit_attribute` since it's unused - `visit_attribute` for HIR visitors is only called by `hir().walk_attributes()` which lint passes do not use
Configuration menu - View commit details
-
Copy full SHA for 10daf8a - Browse repository at this point
Copy the full SHA 10daf8aView commit details -
Rollup merge of rust-lang#123022 - compiler-errors:clif-tests-async-c…
…losure, r=bjorn3 Add `async-closures/once.rs` back to cranelift tests This was fixed afaict by rust-lang#120717 r? `@bjorn3`
Configuration menu - View commit details
-
Copy full SHA for 11f168f - Browse repository at this point
Copy the full SHA 11f168fView commit details -
Rollup merge of rust-lang#123034 - bjorn3:test_ignores, r=compiler-er…
…rors Add a bunch of needs-unwind annotations to tests To filter out tests that fail with cg_clif due to missing panic=unwind support.
Configuration menu - View commit details
-
Copy full SHA for 4369718 - Browse repository at this point
Copy the full SHA 4369718View commit details