summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2022-11-02Fix stable channel downloads of LLVMMark Rousskov-8/+18
2022-11-01Run update lint toolMark Rousskov-5/+4
2022-11-01Lower lint level for READ_ZERO_BYTE_VECMark Rousskov-1/+1
This avoids reporting false-positives; see rust-lang/rust-clippy#9274 for details.
2022-10-31rustdoc: add support for incoherent impls on structs and traitsMichael Howell-0/+50
Fixes #103170
2022-10-31Bump channel to stableMark Rousskov-1/+1
2022-10-29Fix testsMark Rousskov-1/+3
2022-10-29No need to probe when relating opaques in nll_relateMichael Goulet-0/+24
2022-10-29fix(rustdoc): add missing URL component for error messagesWeihang Lo-7/+7
2022-10-29doc(rustdoc): redirect more urlsWeihang Lo-0/+4
2022-10-29Only ban duplication across parameters.Camille GILLOT-0/+3
2022-10-29Do not consider repeated lifetime params for elision.Camille GILLOT-1/+16
2022-10-29Add test validating successful backportMark Rousskov-0/+35
2022-10-29Add normalize hack backMichael Goulet-0/+31
2022-10-29Fix line numbers for MIR inlined codeWesley Wiser-1/+1
`should_collapse_debuginfo` detects if the specified span is part of a macro expansion however it does this by checking if the span is anything other than a normal (non-expanded) kind, then the span sequence is walked backwards to the root span. This doesn't work when the MIR inliner inlines code as it creates spans with expansion information set to `ExprKind::Inlined` and results in the line number being attributed to the inline callsite rather than the normal line number of the inlined code.
2022-10-29Add test case for MIR inlining debuginfo line numbersWesley Wiser-0/+25
2022-10-29Support raw-dylib functions being used inside inlined functionsDaniel Paoliello-0/+102
2022-10-27Revert "Do not consider method call receiver as an argument in AST."Michael Goulet-63/+17
This reverts commit 970184528718d7c10579cac7b7e7e66ef2e2a3f5.
2022-10-27Revert "Adapt ui-fulldeps test."Michael Goulet-2/+2
This reverts commit 69205db766acb80181462f3293a502c5a32d2ca5.
2022-10-20[beta] Update cargoWeihang Lo-0/+0
1 commits in 082503982ea0fb7a8fd72210427d43a2e2128a63..4bc8f24d3e899462e43621aab981f6383a370365 2022-09-13 17:49:38 +0000 to 2022-10-20 06:00:42 +0000 - [BETA-1.65] Fix deadlock when build scripts are waiting for input on stdin (rust-lang/cargo#11257)
2022-10-20Do anonymous lifetimes remapping correctly for nested rpitsSantiago Pastorino-0/+23
(cherry picked from commit 49ce8a22b05d779da4ffc531a44380656d51404b)
2022-10-20Fix `TyKind::is_simple_path`.Nicholas Nethercote-0/+44
PR #98758 introduced code to avoid redundant assertions in derived code like this: ``` let _: ::core::clone::AssertParamIsClone<u32>; let _: ::core::clone::AssertParamIsClone<u32>; ``` But the predicate `is_simple_path` introduced as part of this failed to account for generic arguments. Therefore the deriving code erroneously considers types like `Option<bool>` and `Option<f32>` to be the same. This commit fixes `is_simple_path`. Fixes #103157. (cherry picked from commit 9a23f60f9c801dd0b4686cc75c6a9979bd8928fa)
2022-10-20Tweak `deriving-all-codegen.rs`.Nicholas Nethercote-3/+5
To include some `Option<>` fields of different types in a single enum. The test output is currently buggy, but the next commit will fix that. (cherry picked from commit dfa9d5c971d74aa5bdf6b99253fe4b7db39f9b67)
2022-10-20Fix testGary Guo-1/+1
(cherry picked from commit 4a25a49edfcca0392a9731df351f1a1229a6e662)
2022-10-20Bless testsGary Guo-23/+47
(cherry picked from commit 247da7b18de01886fb73a49f8b9ca59cfec16e64)
2022-10-20Add test for issue 102389Gary Guo-0/+17
(cherry picked from commit f1452fc1c99bc6d126a096694b0f70d9fe4734b6)
2022-10-20Add missing space between notable trait tooltip and where clauseUrgau-2/+19
(cherry picked from commit e214385a4d1933ddb6a4c6ffeed50c7228674656)
2022-10-20Better binder treatmentMichael Goulet-0/+41
(cherry picked from commit 83e6128b577649384ef4bd137223bcffe5c8a5b0)
2022-10-06Revert "Auto merge of #101620 - cjgillot:compute_lint_levels_by_def, r=oli-obk"Camille GILLOT-74/+19
This reverts commit 2cb9a65684dba47c52de8fa938febf97a73e70a9, reversing changes made to 750bd1a7ff3e010611b97ee75d30b7cbf5f3a03c. (cherry picked from commit fc43df0333d5862a219f16d294ae38b14b9191d3)
2022-10-06Support bindings with anon consts in genericsMichael Goulet-0/+15
(cherry picked from commit 92561f43f185b54c81167ddc89fbe2dcd94b4efb)
2022-10-05use build-pass for the testX-1/+1
(cherry picked from commit 5131e9db07fb6cd158cf5bf2aa9fefbad3af1d2b)
2022-10-05fix unwind drop glue for if-then scopesDing Xiang Fei-0/+44
(cherry picked from commit 4a2c1a12b662eb590dbe78f7f9d13c2f327d3bb6)
2022-10-04Add GUI regression test for search results colorsGuillaume Gomez-4/+152
(cherry picked from commit a925e203d199daac8589efa2b5e9849474f1e3a1)
2022-10-04Fix regression for results colorsGuillaume Gomez-1/+3
(cherry picked from commit ef410f1b01f1f3e54975b6142062c737875d6c22)
2022-10-04Add GUI test for links colorsGuillaume Gomez-0/+85
(cherry picked from commit 5d449a017b1740939d56d42ab5025f9854b407b2)
2022-10-04Create new CSS variables for links colorGuillaume Gomez-78/+67
(cherry picked from commit 1c659977d6f2ff3b2d70cfb2607cd8725d9fbe03)
2022-10-04Deny associated type bindings within associated type bindingsMichael Goulet-2/+73
(cherry picked from commit ca2e0bb51ad1a00190430134c67da5cda356745e)
2022-10-04Bless test output changesFrank Steffahn-4/+4
(cherry picked from commit 07767784ad667f4763e3ad6d7914849f3a43c65f)
2022-10-04fix ConstProp handling of written_only_inside_own_block_localsRalf Jung-0/+120
(cherry picked from commit 7373788c370a917c0472cbca30cfdf5d3c6ca086)
2022-10-04add testlcnr-0/+50
(cherry picked from commit 72a21027f5bee367bd9ccbeecc2528986f85d90b)
2022-10-04Revert "fix #101691: copy stage0 binaries into stage0-sysroot"Mark Rousskov-37/+0
This reverts commit 32f8eb2fee4d6781a79052b560abd10e12ebb34f. (cherry picked from commit f0c78ee3dc7c6b99a939e6afb7348ba8b543d7fd)
2022-10-04Use Predicate ConstraintCategory when normalizingJack Huey-0/+133
(cherry picked from commit e7ca6e1b47ce31ad544cd8f0eb7e5cd47b325e63)
2022-10-04Final bitsJack Huey-0/+67
(cherry picked from commit e09242d5b82953652b5a898257d7c8f249d34bea)
2022-10-04add miri test via const fnDing Xiang Fei-1/+20
(cherry picked from commit eb36f5ee5b71cbe3eb356f8e56e9c9a69b6d649d)
2022-10-04add mir-opt testDing Xiang Fei-0/+84
(cherry picked from commit d510ba3bc3b6d41e36cb40b64af65637de39ff8b)
2022-09-23bump stage0Pietro Albini-342/+285
2022-09-19Enable RUSTC_BOOTSTRAP for a few stepsMark Rousskov-0/+3
2022-09-19switch to the beta channelPietro Albini-1/+1
2022-09-17Rollup merge of #101915 - notriddle:notriddle/redirect, r=GuillaumeGomezDylan DPC-1/+1
doc: fix redirected link in `/index.html` Fallout from #101166
2022-09-17Rollup merge of #101807 - jackh726:no-gat-defaults, r=lcnrDylan DPC-0/+54
Disallow defaults on type GATs Fixes #99205
2022-09-17Rollup merge of #101790 - ↵Dylan DPC-0/+28
TaKO8Ki:do-not-suggest-placeholder-to-const-and-static-without-type, r=compiler-errors Do not suggest a placeholder to const and static without a type Fixes #101755