Matthias Krüger
d22043c27c
Rollup merge of #115445 - klensy:less-deps, r=Mark-Simulacrum
...
remove some unused crate deps
2023-09-03 21:38:42 +02:00
Matthias Krüger
545560a2f6
Rollup merge of #115318 - integer32llc:improve-release-notes, r=Mark-Simulacrum
...
Reference uplifted clippy lints' rustc name in the release notes
I updated to Rust 1.72.0, got a new warning from rustc, wanted to read more about it, so I went to RELEASES.md and searched for the new lint's name as shown in the warning I got.
I found no results because the relevant entry in RELEASES only contained the lint's old Clippy name, not its new rustc name.
This adds the rustc name for lints so that someone doing the same thing I did will have more success.
Some of the uplifted lints didn't have a name change, so I didn't add the rustc name as a search for it will succeed.
2023-09-03 21:38:42 +02:00
Matthias Krüger
50aea927f5
Rollup merge of #115279 - schuelermine:patch/doc/RangeFull/remote-parens, r=Mark-Simulacrum
...
RangeFull: Remove parens around .. in documentation snippet
I’ve removed unnecessary parentheses in a documentation snippet documenting `RangeFull`. It could’ve lead people to believe the parentheses were necessary.
2023-09-03 21:38:41 +02:00
bors
21305f4d5f
Auto merge of #115270 - sebastiantoh:issue-105479, r=Nadrieril
...
Add note on non-exhaustiveness when matching on str and nested non-exhaustive enums
Fixes https://github.com/rust-lang/rust/issues/105479
r? `@Nadrieril`
2023-09-03 19:31:47 +00:00
Urgau
ec0975dd6b
Don't forget to normalize the translated message
2023-09-03 17:10:42 +02:00
Fulgen301
a8b0e44e86
Command::spawn: Fix STARTUPINFOW.cb being initialized with the address of size_of
2023-09-03 17:04:42 +02:00
Camille GILLOT
8ae337e128
Fix clippy.
2023-09-03 15:02:47 +00:00
Camille GILLOT
4a87a44451
Compute address space from previous file.
2023-09-03 15:02:47 +00:00
Camille GILLOT
548ba13265
Register the file while computing its start position.
2023-09-03 15:02:46 +00:00
bors
2a1af898b2
Auto merge of #115510 - GuillaumeGomez:rollup-wh719bn, r=GuillaumeGomez
...
Rollup of 3 pull requests
Successful merges:
- #115478 (Emit unused doc comment warnings for pat and expr fields)
- #115490 (rustdoc: update comment in search.js for #107629 )
- #115503 (Migrate GUI colors test to original CSS color format)
r? `@ghost`
`@rustbot` modify labels: rollup
2023-09-03 14:44:09 +00:00
Guillaume Gomez
38a2d5f435
Rollup merge of #115503 - GuillaumeGomez:migrate-gui-test-color-38, r=notriddle
...
Migrate GUI colors test to original CSS color format
Follow-up of https://github.com/rust-lang/rust/pull/111459 .
r? `@notriddle`
2023-09-03 15:42:12 +02:00
Guillaume Gomez
dbeef4590a
Rollup merge of #115490 - pitaj:rustdoc-searchjs-comment, r=GuillaumeGomez
...
rustdoc: update comment in search.js for #107629
Addressing https://github.com/rust-lang/rust/pull/107629#issuecomment-1693460106
r? `@jsha`
2023-09-03 15:42:12 +02:00
Guillaume Gomez
3db7fc1481
Rollup merge of #115478 - gurry:115462-exprfield-no-warn, r=compiler-errors
...
Emit unused doc comment warnings for pat and expr fields
Fixes #115462
2023-09-03 15:42:11 +02:00
Ben Kimock
642251b71f
Use std::io::Error::is_interrupted everywhere
2023-09-03 09:21:10 -04:00
Camille GILLOT
61a0b77e17
Use relative positions inside a SourceFile.
2023-09-03 12:56:10 +00:00
Camille GILLOT
258ace613d
Use relative positions inside a SourceFile.
2023-09-03 12:56:10 +00:00
bors
49523e3360
Auto merge of #115448 - onur-ozkan:optimize-bootstrap-dep-tree, r=albertlarsan68
...
optimize bootstrap dep tree
bumped `pretty_assertations` in favor of removing duplicated `syn`, and bumped `hermit-abi` from the yanked version.
2023-09-03 12:55:10 +00:00
Sebastian Toh
d87b87d10e
Improve clarity of diagnostic message on non-exhaustive matches
2023-09-03 19:55:11 +08:00
bors
53a03978a7
Auto merge of #115361 - compiler-errors:param, r=cjgillot
...
Don't manually compute param indices when adding implicit `Sized` and `ConstParamHasTy`
We can just use resolve_bound_vars to compute these indices faithfully.
This also makes the code easier to support where clauses on `non_lifetime_binders` (like `where for<T: Debug> ...`, etc, which I've got a [WIP implementation of](https://github.com/rust-lang/rust/compare/master...compiler-errors:rust:non-lifetime-binder-where-clauses )).
r? `@cjgillot`
2023-09-03 11:12:20 +00:00
Guillaume Gomez
8e5dff1d38
Migrate GUI colors test to original CSS color format
2023-09-03 12:49:22 +02:00
Guillaume Gomez
7e648f0d72
Use named arguments in code-color.goml
GUI test
2023-09-03 12:46:56 +02:00
bors
b89d7d6882
Auto merge of #115496 - RalfJung:miri, r=RalfJung
...
update Miri
There were conflicts on the last pull, so make sure it's all in sync both ways
r? `@ghost`
2023-09-03 09:23:39 +00:00
bors
7cc5ac267f
Auto merge of #115470 - ericmarkmartin:stable-prov, r=oli-obk
...
add stable provenance
r? `@spastorino`
implements rust-lang/project-stable-mir#22
2023-09-03 07:38:55 +00:00
bors
f2568c8316
Auto merge of #3050 - RalfJung:rustup, r=RalfJung
...
Rustup
2023-09-03 07:35:33 +00:00
Ralf Jung
fb26c21c35
Merge from rustc
2023-09-03 09:28:31 +02:00
Ralf Jung
dc81d6c282
Preparing for merge from rustc
2023-09-03 09:28:30 +02:00
Ayush Singh
56df6b8189
Move RawOsError defination to sys
...
Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
2023-09-03 12:35:03 +05:30
Martin Nordholts
789451b43a
Allow large_assignments
for Box/Arc/Rc initialization
...
Does the `stop linting in box/arc initialization` task of 83518.
2023-09-03 08:15:25 +02:00
bors
a989e25f1b
Auto merge of #115472 - RalfJung:tier-2, r=GuillaumeGomez
...
make it more clear what 'Tier 2' (without host tools) means
When saying that Rust "builds official binary releases for each tier 2 target", it's not at all clear that this does not mean we build a compiler and cargo for that target.
2023-09-03 05:23:52 +00:00
bors
33e796bbe1
Auto merge of #115441 - catandcoder:master, r=workingjubilee
...
fix the repetitive word
2023-09-03 03:37:27 +00:00
John Kåre Alsaker
00c251134d
Outline panicking code for RefCell::borrow
and RefCell::borrow_mut
2023-09-03 05:10:58 +02:00
Gurinder Singh
a0a71732f9
Fix code that now emits unused doc comment warning for expr field
2023-09-03 08:38:17 +05:30
Gurinder Singh
10f4917568
Emit unused doc comment warnings for pat and expr fields
2023-09-03 08:21:18 +05:30
bors
3ec4b3bc8c
Auto merge of #115436 - GuillaumeGomez:fix-type-based-search, r=notriddle
...
[rustdoc] Fix type based search
Fixes https://github.com/rust-lang/rust/issues/114522 .
The problem was a bit more tricky than I originally thought it would be: we only kept type ID and generics in short, but as soon as there was a full path in the user query, the element didn't get an ID anymore because the ID map didn't know about `x::y` (although it knew about `y`). So for this first problem, I instead always pass the element name to get the ID.
Then a new problem occurred: we actually needed to check if paths matched, otherwise whatever the path, as long as the "end types" match, it's all good. meaning, we needed to add path information, but to do so, we needed it to be added into the search index directly as there was no mapping between `"p"` and `"q"`.
I hope this explanation makes sense to someone else than me. ^^'
r? `@notriddle`
2023-09-03 01:52:15 +00:00
Peter Jaszkowiak
b1e32eaab2
rustdoc: update comment in search.js for #107629
2023-09-02 19:26:10 -06:00
Carol (Nichols || Goulding)
d9af418223
Add another renamed Clippy lint to release notes
2023-09-02 20:45:52 -04:00
bors
b588641208
Auto merge of #115484 - GuillaumeGomez:migrate-gui-test-color-37, r=notriddle
...
Migrate GUI colors test to original CSS color format
Follow-up of https://github.com/rust-lang/rust/pull/111459 .
r? `@notriddle`
2023-09-03 00:02:55 +00:00
Jason Newcomb
f686bd8949
Take &mut Results
in ResultsVisitor
2023-09-02 19:35:51 -04:00
Guillaume Gomez
e161fa1a6b
Correctly handle paths from foreign items
2023-09-02 23:04:37 +02:00
bors
9f5fc1bd44
Auto merge of #115471 - RalfJung:skipping-sanity, r=onur-ozkan
...
also skip musl checks when BOOTSTRAP_SKIP_TARGET_SANITY is set
Currently I cannot test musl targets in Miri via x.py; this PR fixes that.
2023-09-02 20:14:37 +00:00
Guillaume Gomez
680b3ac787
Migrate GUI colors test to original CSS color format
2023-09-02 21:00:23 +02:00
bors
c4f25777a0
Auto merge of #115273 - the8472:take-fold, r=cuviper
...
Optimize Take::{fold, for_each} when wrapping TrustedRandomAccess iterators
2023-09-02 12:40:16 +00:00
The 8472
f93e125828
restrict test to x86-64
2023-09-02 13:42:58 +02:00
bors
9229b1eab4
Auto merge of #115429 - compiler-errors:assoc-ct-lt-fallthrough, r=cjgillot
...
Fall through when resolving elided assoc const lifetimes
`@QuineDot` makes a good point in https://github.com/rust-lang/rust/issues/115010#issuecomment-1702127634 that we probably should not accept *more* code due to #115011 even though that code will eventually become a forbid-warning in a few versions (https://github.com/rust-lang/rust/issues/115010#issuecomment-1701598067 ).
Fall through when walking thru the `AnonymousWarnToStatic` (renamed to `AnonymousWarn`) rib so that we can resolve as a fresh lifetime like we did before.
2023-09-02 10:55:49 +00:00
Ralf Jung
89619b8a0e
make it more clear what 'Tier 2' (without host tools) means
2023-09-02 10:34:49 +02:00
bors
585bb5e68d
Auto merge of #115409 - RalfJung:llvm-merge-reland, r=lqd
...
bootstrap: use git merge-base for LLVM CI download logic
This re-lands https://github.com/rust-lang/rust/pull/113588 , now that the perf issues are hopefully fixed by https://github.com/rust-lang/rustc-perf/pull/1684 .
r? `@lqd` `@Mark-Simulacrum`
Fixes https://github.com/rust-lang/rust/issues/101907
2023-09-02 08:25:49 +00:00
Ralf Jung
9cae47ee87
also skip musl checks when BOOTSTRAP_SKIP_TARGET_SANITY is set
2023-09-02 10:25:06 +02:00
bors
ad8f601ca2
Auto merge of #115469 - matthiaskrgr:rollup-25ybx39, r=matthiaskrgr
...
Rollup of 7 pull requests
Successful merges:
- #114349 (rustc_llvm: Link to `zlib` on dragonfly and solaris)
- #114845 (Add alignment to the NPO guarantee)
- #115427 (kmc-solid: Fix `is_interrupted`)
- #115443 (feat(std): Stabilize 'os_str_bytes' feature)
- #115444 (Create a SMIR visitor)
- #115449 (Const-stabilize `is_ascii`)
- #115456 (Add spastorino on vacation)
r? `@ghost`
`@rustbot` modify labels: rollup
2023-09-02 06:38:58 +00:00
John Kåre Alsaker
a3ad045ea4
Rename Freeze
to FreezeLock
2023-09-02 08:14:06 +02:00
John Kåre Alsaker
50f0d666d3
Add some comments
2023-09-02 08:13:07 +02:00