summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2023-01-10disable failing testPietro Albini-1/+1
Miri is not shipped on stable, so we don't care whether it builds or not.
2023-01-10add subtle dependencyPietro Albini-0/+2
2023-01-10release 1.66.1Pietro Albini-1/+1
2023-01-10bump Cargo submodule to fix CVE-2022-46176Pietro Albini-0/+0
2023-01-10disable fast submodule checkout due to spurious ci failuresPietro Albini-7/+8
2022-12-12Ignore errors when including clear_expected_if_blessedTomasz Miąsko-1/+1
Include is there only for the effect executing the rule. The file is not intended to be remade successfully to be actually included.
2022-12-12Add test for non-rust code block hashtag prepended linesGuillaume Gomez-0/+37
2022-12-12Don't take into account hashtag prepended lines if not in rust code blockGuillaume Gomez-3/+4
2022-12-12Use XCode 13.4 everywhere in dist CIBlackHoleFox-1/+4
Do this because XCode 14 no longer supports a macOS deployment target of anything before 10.13. We need 10.7+(-ish, really 10.9+) for now.
2022-12-12Bring back XCode selection CI scriptBlackHoleFox-0/+18
This reverts commit 8514b0097b28f84ee5cfead059a5771c6a693fb0.
2022-12-12bless testPietro Albini-3/+2
2022-12-11bump channel to stablePietro Albini-1/+1
2022-12-11fix test errouz-a-3/+4
2022-12-11re-add test and blessouz-a-1/+31
2022-12-11revert-overflowouz-a-39/+8
2022-12-11Statics used in reachable function's inline asm are reachableTomasz Miąsko-0/+20
2022-12-11Bump the const eval step limitOli Scherer-4/+4
2022-11-20[beta] Update cargoWeihang Lo-0/+0
1 commits in 7e484fc1a766f56dbc95380f45719698e0c82749..d65d197ad5c6c09234369f219f943e291d4f04b9 2022-10-27 15:20:57 +0000 to 2022-11-15 21:30:31 +0000 - [beta-1.66] Backport fix for git2 safe-directory disable (rust-lang/cargo#11381)
2022-11-20Ignore test to fix macOS CIMark Rousskov-109/+0
The proper fix for this is https://github.com/rust-lang/rust/pull/104091, but we're avoiding a backport for it since this is just failing for an unstable feature.
2022-11-20Delete miri testMichael Goulet-24/+0
2022-11-20Add testMichael Goulet-0/+47
2022-11-20rustdoc: Do not add external traits to the crate in `register_res`Vadim Petrochenkov-4/+12
It's not clear why it was done, and apparently it's no longer necessary now. Such additions are unpredictable for early doc link resolution and would force us to collect all doc links from all external traits.
2022-11-20rustdoc: Resolve doc links in external traits having local implsVadim Petrochenkov-1/+22
2022-11-20Revert "Update CI to use Android NDK r25b"Alex Pinkus-29/+43
This reverts commit bf7f1ca316a249cf99d722d79a0db12fef687142.
2022-11-15Don't silently eat label before block in block-like exprMichael Goulet-0/+219
2022-11-15Use `nominal_obligations_without_const` in wf for FnDefDeadbeef-0/+5
2022-11-15Update to released stable compilerMark Rousskov-342/+285
2022-10-31Adjust miri to still be optionalMark Rousskov-25/+31
We don't distribute a miri build for beta/stable so it needs to be kept optional. In the future it likely makes sense to switch the miri *artifacts* to always be built, but the rustup component to not be included -- this will avoid some of this pain.
2022-10-31Enable RUSTC_BOOTSTRAP for a few stepsMark Rousskov-0/+3
2022-10-31rustdoc: add support for incoherent impls on structs and traitsMichael Howell-0/+50
Fixes #103170
2022-10-31Bump channel to betaMark Rousskov-1/+1
2022-10-29Auto merge of #103450 - cjgillot:elision-nodedup, r=Mark-Simulacrumbors-1/+19
Do not consider repeated lifetime params for elision. Fixes https://github.com/rust-lang/rust/issues/103330
2022-10-29Rollup merge of #103699 - compiler-errors:dyn-star-cast-bad, r=TaKO8KiGuillaume Gomez-0/+58
Emit proper error when casting to `dyn*` Fixes #103679
2022-10-29Rollup merge of #103653 - GuillaumeGomez:missing-impl-private-json, r=notriddleGuillaume Gomez-5/+53
Add missing impl blocks for item reexported from private mod in JSON output Fixes #102583. Since we don't inline for the JSON output, the impl blocks from private modules are not present when we generate the output. To go around this limitation, in case the impl block doesn't have `#[doc(hidden)]` and is implementing a public item, we don't strip it. cc `@fmease` `@aDotInTheVoid` r? `@notriddle`
2022-10-29Rollup merge of #103625 - WaffleLapkin:no_tyctxt_dogs_allowed, r=compiler-errorsGuillaume Gomez-96/+138
Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functions Functions in answer: - `Ty::is_freeze` - `Ty::is_sized` - `Ty::is_unpin` - `Ty::is_copy_modulo_regions` This allows to remove a lot of useless `.at(DUMMY_SP)`, making the code a bit nicer :3 r? `@compiler-errors`
2022-10-29Rollup merge of #103618 - nnethercote:rename-OwnerId-fields, r=compiler-errorsGuillaume Gomez-144/+144
Rename some `OwnerId` fields. `@spastorino` noticed some silly expressions like `item_id.def_id.def_id`. This commit renames several `def_id: OwnerId` fields as `owner_id`, so those expressions become `item_id.owner_id.def_id`. `item_id.owner_id.local_def_id` would be even clearer, but the use of `def_id` for values of type `LocalDefId` is *very* widespread, so I left that alone. r? `@compiler-errors`
2022-10-29Rollup merge of #102721 - nbdd0121:panic, r=AmanieuGuillaume Gomez-0/+31
Prevent foreign Rust exceptions from being caught Fix #102715 Use the address of a static variable (which is guaranteed to be unique per copy of std) to tell apart if a Rust exception comes from local or foreign Rust code, and abort for the latter.
2022-10-29Rollup merge of #102634 - andrewpollack:refactor-test-rustcflags, ↵Guillaume Gomez-39/+22
r=Mark-Simulacrum compiletest: Refactor test rustcflags Refactoring `host-rustcflags` and `target-rustcflags` from `Option<String>` to `Vec<String>` Ref: #102438 r? `@Mark-Simulacrum`
2022-10-29Add regression test for missing item from private mod in JSON outputGuillaume Gomez-1/+29
2022-10-29Add missing impl blocks for item reexported from private mod in JSON outputGuillaume Gomez-5/+25
2022-10-29Rename some `OwnerId` fields.Nicholas Nethercote-144/+144
spastorino noticed some silly expressions like `item_id.def_id.def_id`. This commit renames several `def_id: OwnerId` fields as `owner_id`, so those expressions become `item_id.owner_id.def_id`. `item_id.owner_id.local_def_id` would be even clearer, but the use of `def_id` for values of type `LocalDefId` is *very* widespread, so I left that alone.
2022-10-29Auto merge of #103714 - matthiaskrgr:rollup-kajt3i8, r=matthiaskrgrbors-35/+180
Rollup of 7 pull requests Successful merges: - #102961 (Make `CStr::from_ptr` `const`.) - #103342 (Add test for issue 98634) - #103383 (Note scope of TAIT more accurately) - #103656 (Specialize ToString for Symbol) - #103663 (rustdoc: remove redundant CSS/DOM `div.search-container`) - #103664 (rustdoc-json-types: Improve ItemSummary::path docs) - #103704 (Add a test for TAIT used with impl/dyn Trait inside RPIT) Failed merges: - #103618 (Rename some `OwnerId` fields.) r? `@ghost` `@rustbot` modify labels: rollup
2022-10-29Rollup merge of #103704 - xxchan:xxchan/applicable-bug, r=compiler-errorsMatthias Krüger-0/+37
Add a test for TAIT used with impl/dyn Trait inside RPIT close https://github.com/rust-lang/rust/issues/101750
2022-10-29Rollup merge of #103664 - aDotInTheVoid:rdj-path-docs, r=Urgau,GuillaumeGomezMatthias Krüger-0/+5
rustdoc-json-types: Improve ItemSummary::path docs Somewhat inspired by the doc changes from #103085 (cc ``@Urgau)`` r? ``@GuillaumeGomez``
2022-10-29Rollup merge of #103663 - notriddle:notriddle/search-container, r=GuillaumeGomezMatthias Krüger-31/+24
rustdoc: remove redundant CSS/DOM `div.search-container` Preview: https://notriddle.com/notriddle-rustdoc-demos/search-container/test_dingus/fn.test.html This wrapper DIV was originally added in 89e1fb322321c05497caa01372ceb7d5b57fa680, when it allowed the search bar's size to be calculated without using `calc()`. This `width` hack can be removed using flexbox.
2022-10-29Rollup merge of #103383 - compiler-errors:tait-scope, r=oli-obkMatthias Krüger-4/+4
Note scope of TAIT more accurately This maybe explains why the person was confused in #101897, since we say "same module" but really should've said "same impl". r? ``@oli-obk``
2022-10-29Rollup merge of #103342 - Rageking8:add-test-for-issue-98634, r=compiler-errorsMatthias Krüger-0/+110
Add test for issue 98634 Fixes #98634
2022-10-29Auto merge of #102698 - michaelwoerister:unord-collections, r=lncrbors-2/+2
Introduce UnordMap, UnordSet, and UnordBag (MCP 533) This is the start of implementing [MCP 533](https://github.com/rust-lang/compiler-team/issues/533). I followed `@eddyb's` suggestion of naming the collection types `Unord(Map/Set/Bag)` which is a bit easier to type than `Unordered(Map/Set/Bag)` r? `@eddyb`
2022-10-29Auto merge of #102233 - petrochenkov:effvis, r=jackh726bors-282/+288
privacy: Rename "accessibility levels" to "effective visibilities" And a couple of other naming and comment tweaks. Related to https://github.com/rust-lang/rust/issues/48054 For `enum Level` I initially used naming `enum EffectiveVisibilityLevel`, but it was too long and inconvenient because it's used pretty often. So I shortened it to just `Level`, if it needs to be used from some context where this name would be ambiguous, then it can be imported with renaming like `use rustc_middle::privacy::Level as EffVisLevel` or something.
2022-10-28Add a test for TAIT used with impl/dyn Trait inside RPITxxchan-0/+37