| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-11-08 | Auto merge of #103965 - petrochenkov:effvisperf3, r=oli-obk | bors | -18/+79 | |
| resolve: More detailed effective visibility tracking for imports Per-`DefId` tracking is not enough, due to glob imports in particular, which have a single `DefId` for the whole glob import item. We need to track this stuff per every introduced name (`NameBinding`). Also drop `extern` blocks from the effective visibility table, they are nominally private and it doesn't make sense to keep them there. Later commits add some debug-only invariant checking and optimiaztions to mitigate regressions in https://github.com/rust-lang/rust/pull/103965#issuecomment-1304256445. This is a bugfix and continuation of https://github.com/rust-lang/rust/pull/102026. | ||||
| 2022-11-08 | ignore wasm in test | lcnr | -2/+4 | |
| 2022-11-08 | selection failure: recompute applicable impls | lcnr | -23/+67 | |
| 2022-11-08 | Visit attributes of trait impl items during AST validation | León Orell Valerian Liehr | -0/+23 | |
| 2022-11-08 | prevent uninitialized access in black_box for zero-sized-types | Krasimir Georgiev | -0/+32 | |
| 2022-11-08 | llvm: dwo only emitted when object code emitted | David Wood | -2/+55 | |
| `CompiledModule` should not think a DWARF object was emitted when a bitcode-only compilation has happened, this can confuse archive file creation (which expects to create an archive containing non-existent dwo files). Signed-off-by: David Wood <david.wood@huawei.com> | ||||
| 2022-11-08 | run-make-fulldeps: fix split debuginfo test | David Wood | -15/+145 | |
| Add lots of comments to this test and enable parts of the test that were added but never ran. Signed-off-by: David Wood <david.wood@huawei.com> | ||||
| 2022-11-08 | use subdiagnostic for sugesting add let | yukang | -0/+5 | |
| 2022-11-08 | fix #103587, Recover from common if let syntax mistakes/typos | yukang | -0/+67 | |
| 2022-11-08 | Rollup merge of #103651 - Alexendoo:parse-format-unicode-escapes, r=wesleywiser | Dylan DPC | -0/+82 | |
| Fix `rustc_parse_format` spans following escaped utf-8 multibyte chars Currently too many skips are created for char escapes that are larger than 1 byte when encoded in UTF-8, [playground:](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=c77a9dc669b69b167271b59ed2c8d88c) ```rust fn main() { format!("\u{df}{a}"); format!("\u{211d}{a}"); format!("\u{1f4a3}{a}"); } ``` ``` error[[E0425]](https://doc.rust-lang.org/stable/error-index.html#E0425): cannot find value `a` in this scope --> src/main.rs:2:22 | 2 | format!("\u{df}{a}"); | ^ not found in this scope error[[E0425]](https://doc.rust-lang.org/stable/error-index.html#E0425): cannot find value `a` in this scope --> src/main.rs:3:25 | 3 | format!("\u{211d}{a}"); | ^ not found in this scope error[[E0425]](https://doc.rust-lang.org/stable/error-index.html#E0425): cannot find value `a` in this scope --> src/main.rs:4:27 | 4 | format!("\u{1f4a3}{a}"); | ^ not found in this scope ``` This reduces the number of skips to account for that Fixes https://github.com/rust-lang/rust-clippy/issues/9727 | ||||
| 2022-11-07 | rustdoc: fix font color inheritance from body, and test | Michael Howell | -0/+73 | |
| 2022-11-07 | rustdoc: use javascript to layout notable traits popups | Michael Howell | -16/+35 | |
| Fixes #102576 | ||||
| 2022-11-07 | Add a known that this is a known limitation | Jack Huey | -0/+3 | |
| 2022-11-07 | Get spans for a couple more region types, add some optimizations, and extend ↵ | Jack Huey | -3/+76 | |
| test | ||||
| 2022-11-07 | Add an optional Span to BrAnon and use it to print better error for HRTB ↵ | Jack Huey | -0/+45 | |
| error from generator interior | ||||
| 2022-11-07 | Reworked const fn ref tests | onestacked | -14/+59 | |
| 2022-11-07 | Fix `const_fn_trait_ref_impl`, add test for it | onestacked | -0/+35 | |
| 2022-11-07 | Add --print=split-debuginfo | Kamil Koczurek | -1/+1 | |
| This option prints all supported values for -Csplit-debuginfo=.., i.e. only stable ones on stable/beta and all of them on nightly/dev. | ||||
| 2022-11-07 | Auto merge of #104102 - Dylan-DPC:rollup-0eakshe, r=Dylan-DPC | bors | -1/+253 | |
| Rollup of 6 pull requests Successful merges: - #103757 (Mention const and lifetime parameters in error E0207) - #103986 (Don't silently eat label before block in block-like expr) - #104003 (Move some tests to more reasonable directories) - #104038 (Normalize types when deducing closure signature from supertraits) - #104052 (Fix `resolution_failure` ICE) - #104090 (Modify comment syntax error) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2022-11-07 | Rollup merge of #104090 - wanghaha-dev:master, r=Dylan-DPC | Dylan DPC | -1/+1 | |
| Modify comment syntax error Modify comment syntax error | ||||
| 2022-11-07 | Rollup merge of #104052 - TaKO8Ki:fix-103997, r=notriddle | Dylan DPC | -0/+16 | |
| Fix `resolution_failure` ICE Fixes #103997 | ||||
| 2022-11-07 | Rollup merge of #104038 - compiler-errors:super-norm-closure-sig, r=lcnr | Dylan DPC | -0/+17 | |
| Normalize types when deducing closure signature from supertraits Elaborated supertraits should be normalized, since there's no guarantee they don't contain projections :sweat_smile: Fixes #104025 r? types | ||||
| 2022-11-07 | Rollup merge of #104003 - c410-f3r:moar-errors, r=petrochenkov | Dylan DPC | -0/+0 | |
| Move some tests to more reasonable directories r? `@petrochenkov` | ||||
| 2022-11-07 | Rollup merge of #103986 - ↵ | Dylan DPC | -0/+219 | |
| compiler-errors:oh-no-bad-block-should-not-have-label, r=lcnr Don't silently eat label before block in block-like expr Fixes #103983 cc #92823 (where the regression was introduced) | ||||
| 2022-11-07 | Auto merge of #101395 - saethlin:strict-provenance-codegen, r=nikic | bors | -0/+37 | |
| Add a codegen test for rust-lang/rust#96152 This is a regression test for https://github.com/rust-lang/rust/issues/96152, it is intended to check that our codegen for a particular strict provenance pattern is always as good as the ptr2int2ptr/provenance-ignoring style. r? `@nikic` | ||||
| 2022-11-07 | Fix rebase | Jannis Christopher Köhl | -2/+1 | |
| 2022-11-07 | Remove copy of current const prop tests and add a few new tests | Jannis Christopher Köhl | -2500/+253 | |
| 2022-11-07 | Prevent propagation of overflow if overflow occured | Jannis Christopher Köhl | -1/+1 | |
| 2022-11-07 | Improve documentation, plus some small changes | Jannis Christopher Köhl | -4/+2 | |
| 2022-11-07 | Make overflow flag propagation conditional | Jannis Christopher Köhl | -0/+53 | |
| 2022-11-07 | Update test results | Jannis Christopher Köhl | -4/+4 | |
| 2022-11-07 | Update issue-50814.rs test result | Jannis Christopher Köhl | -9/+23 | |
| 2022-11-07 | Improve example used for SB tests | Jannis Christopher Köhl | -19/+47 | |
| 2022-11-07 | Add tests for Stacked Borrows behavior | Jannis Christopher Köhl | -0/+120 | |
| 2022-11-07 | Only assume Stacked Borrows if -Zunsound-mir-opts is given | Jannis Christopher Köhl | -84/+86 | |
| 2022-11-07 | Update test results after rebase | Jannis Christopher Köhl | -28/+29 | |
| 2022-11-07 | Add some more unit-test directives | Jannis Christopher Köhl | -112/+137 | |
| 2022-11-07 | Update test results | Jannis Christopher Köhl | -200/+122 | |
| 2022-11-07 | Add tests from current const prop | Jannis Christopher Köhl | -0/+2297 | |
| 2022-11-07 | Remove leftover test files | Jannis Christopher Köhl | -234/+0 | |
| 2022-11-07 | Rebase onto master | Jannis Christopher Köhl | -6/+1 | |
| 2022-11-07 | Add tracking of unreachability | Jannis Christopher Köhl | -3/+6 | |
| 2022-11-07 | Update other test results | Jannis Christopher Köhl | -4/+238 | |
| 2022-11-07 | Reject registration of downcasts for now | Jannis Christopher Köhl | -85/+85 | |
| 2022-11-07 | Change test from usize to i32 to prevent target issues | Jannis Christopher Köhl | -12/+12 | |
| 2022-11-07 | Add additional flooding when assigning a value and corresponding test | Jannis Christopher Köhl | -0/+63 | |
| 2022-11-07 | Remove empty test | Jannis Christopher Köhl | -18/+0 | |
| 2022-11-07 | Update test results | Jannis Christopher Köhl | -16/+56 | |
| 2022-11-07 | Update test results | Jannis Christopher Köhl | -12/+16 | |
| 2022-11-07 | Add initial version of value analysis and dataflow constant propagation | Jannis Christopher Köhl | -0/+769 | |
