Commit graph

231047 commits

Author SHA1 Message Date
Michael Goulet
140c011ca6 Don't mention already set fields 2023-06-05 21:00:08 +00:00
Michael Goulet
b0eaaca314 Remove redundant InferCtxtExt::fresh_item_substs 2023-06-05 20:05:08 +00:00
Jakub Beránek
c91a3a4d0c
Test the PGO/BOLT/LTO optimized x64 Linux compiler on CI 2023-06-05 21:54:52 +02:00
Centri3
f68ee79864 Update trait_bounds.rs 2023-06-05 14:53:22 -05:00
Michael Goulet
bbc536d3ac Emit an error when RTN is used with ty/ct params 2023-06-05 19:52:04 +00:00
Centri3
0250c51844 refactor 2023-06-05 14:46:47 -05:00
Michael Goulet
979379aff7 Resolve vars in result from scrape_region_constraints 2023-06-05 19:40:30 +00:00
Centri3
6ea7cd8ec7 Fix #10504, don't lint on derived code 2023-06-05 14:38:38 -05:00
bors
e6d4725c76 Auto merge of #112071 - WaffleLapkin:group-rfcs-tests, r=oli-obk
Group rfcs tests

This moves all RFC tests to `tests/ui/rfcs/rfc-NNNN-title-title-title/...`

I had to rename some tests due to conflicts, but otherwise this is just a move.
2023-06-05 19:36:17 +00:00
bors
634c21f4de Auto merge of #2919 - Vanille-N:tb-diags, r=RalfJung
Revert error in doc comment

Also punctuation
2023-06-05 19:16:50 +00:00
Neven Villani
c87f6d9643
Revert error in doc comment
Also punctuation
2023-06-05 21:14:48 +02:00
Eric Huss
d376e63384 Add description of forwards-compatible behavior. 2023-06-05 11:55:16 -07:00
Eric Huss
ceda03d3c7 Add missing word "the". 2023-06-05 11:51:37 -07:00
Eric Huss
b2d401f6a5 Add an example of placeholders. 2023-06-05 11:51:37 -07:00
Eric Huss
0e66b0024c Rewrite recommended demangling for lifetimes using "De Bruijn level". 2023-06-05 11:51:37 -07:00
Eric Huss
9e0c19d5c2 Clarify grammar for decimal-number cannot have leading zeroes. 2023-06-05 11:51:37 -07:00
Eric Huss
769f938aea Clarify missing tick. 2023-06-05 11:51:37 -07:00
Eric Huss
d782e8748b Update from review from michaelwoerister. 2023-06-05 11:51:37 -07:00
Eric Huss
ddd26b46cd Remove 64-bit limit for base-62-numbers.
Demanglers should be prepared for any arbitrary length number.
2023-06-05 11:51:37 -07:00
Eric Huss
d5d4619e98 Rearrange symbol-mangling chapter out of codegen-options. 2023-06-05 11:51:37 -07:00
Eric Huss
5d61dcaad5 Add documentation on v0 symbol mangling. 2023-06-05 11:51:36 -07:00
bjorn3
204c64bda1
Merge pull request #1378 from bjorn3/more_vendor_intrinsics
Implement all vendor intrinsics used by regex on AVX2 systems
2023-06-05 20:42:09 +02:00
Guillaume Gomez
44b1365885 Add chapter for re-exports in the rustdoc book 2023-06-05 20:30:50 +02:00
bjorn3
8fbd6f521a Skip LLVM sysroot testing for native x86_64-pc-windows-gnu in CI
It is way too slow and cross-compiled x86_64-pc-windows-gnu covers at
least part of the tests.
2023-06-05 17:20:59 +00:00
bors
d42d55feaa Auto merge of #14988 - lnicola:sync-from-rust, r=lnicola
internal: Sync from rust
2023-06-05 16:55:06 +00:00
bjorn3
1797ae5174 Define rust_eh_personality for alloc_example
x86_64-pc-windows-gnu requires it to be defined.
2023-06-05 16:54:37 +00:00
Laurențiu Nicola
338f969181 Merge remote-tracking branch 'upstream/master' into sync-from-rust 2023-06-05 19:54:30 +03:00
bors
408bbd0406 Auto merge of #112317 - GuillaumeGomez:rollup-toh0gpo, r=GuillaumeGomez
Rollup of 6 pull requests

Successful merges:

 - #112243 (Remove unneeded `Buffer` allocations when `&mut fmt::Write` can be used directly)
 - #112263 (Remove ExtendElement, ExtendWith, extend_with)
 - #112291 (Disable RustAnalyzer check by default, run Rustfmt check before)
 - #112299 (Don't double-print status messages in GHA)
 - #112311 (Ignore fluent message reordering in `git blame`)
 - #112315 (fix spelling error)

Failed merges:

 - #112251 (rustdoc: convert `if let Some()` that always matches to variable)

r? `@ghost`
`@rustbot` modify labels: rollup
2023-06-05 16:50:32 +00:00
bjorn3
aeac484d18 Run tests with LLVM sysroot in CI 2023-06-05 16:41:03 +00:00
Oli Scherer
58972d19e7 Merge method, type and const object safety checks 2023-06-05 16:39:16 +00:00
Nikolay Arhipov
ac48d49ff8 Simplified bool to int conversion 2023-06-05 19:26:04 +03:00
Nikolay Arhipov
50117af409 Std support improvement for ps vita target 2023-06-05 19:14:09 +03:00
Maybe Waffle
18e016f7e0 Bless tidy root entry limit 2023-06-05 16:10:46 +00:00
Maybe Waffle
9d3482c403 Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
bjorn3
76900705e8 Implement all vendor intrinsics used by regex on AVX2 systems
This allows it to work with --sysroot llvm
2023-06-05 15:33:54 +00:00
Raoul Strackx
b35f243c89 Verify that (almost) all ret instructions have been replaced 2023-06-05 17:33:26 +02:00
Guillaume Gomez
7c363c22a2
Rollup merge of #112315 - lucascherzer:master, r=Nilstrieb
fix spelling error

"rexport" is not valid spelling: https://www.merriam-webster.com/dictionary/re-export
2023-06-05 17:02:53 +02:00
Guillaume Gomez
714ab6dc37
Rollup merge of #112311 - clubby789:blame-ignore-fluent-reorder, r=Nilstrieb
Ignore fluent message reordering in `git blame`

This commit reordered most of our Fluent message files. Since `git blame` can be useful in tracking mistakes made while adapting to translatable diagnostics, ignore this commit in `blame`.
r? `@jyn514`
2023-06-05 17:02:52 +02:00
Guillaume Gomez
154949dacd
Rollup merge of #112299 - jyn514:gha-progress, r=oli-obk
Don't double-print status messages in GHA

Before:

```
Building stage0 tool jsondocck (x86_64-unknown-linux-gnu)
  Building stage0 tool jsondocck (x86_64-unknown-linux-gnu)
   Downloading crates ...
```

After:

```
Building stage0 tool jsondocck (x86_64-unknown-linux-gnu)
   Downloading crates ...
```

r? `@oli-obk`
2023-06-05 17:02:52 +02:00
Guillaume Gomez
0258a16cdc
Rollup merge of #112291 - sigaloid:master, r=clubby789
Disable RustAnalyzer check by default, run Rustfmt check before

Fixes #112287.
2023-06-05 17:02:51 +02:00
Guillaume Gomez
200d03acad
Rollup merge of #112263 - GrishaVar:remove-extend-element, r=scottmcm
Remove ExtendElement, ExtendWith, extend_with

Related to  #104624, broken up into two commits. The first removes wrapper trait ExtendWith and its only implementer struct ExtendElement. The second may have perf issues so may be reverted/removed if no alternate fix is found; it should be profiled.

r? `@scottmcm`
2023-06-05 17:02:51 +02:00
Guillaume Gomez
aabffef06d
Rollup merge of #112243 - GuillaumeGomez:rm-unneeded-buffer-creations, r=notriddle
Remove unneeded `Buffer` allocations when `&mut fmt::Write` can be used directly

With the recent changes, `wrap_item` can now directly take `&mut Write`, which makes some `Buffer` creations unneeded.

r? `@notriddle`
2023-06-05 17:02:50 +02:00
bors
98c5fce341 Auto merge of #2918 - Vanille-N:tb-diags, r=RalfJung
TB: improve error messages (distinguish between accesses and reborrows)

I don't remember where, but there was a complaint that while SB's error messages distinguish between "invalidated by an access" and "invalidated by a reborrow", TB's error messages do not.
2023-06-05 14:28:26 +00:00
Neven Villani
7a1cdf7110
Differentiate between explicit accesses and accesses inserted by TB 2023-06-05 16:26:36 +02:00
clubby789
1fa769234e Ensure space is inserted after keyword in unused_delims 2023-06-05 14:25:00 +00:00
Oli Scherer
604ffab063 Avoid going through queries if a value of type AssocItem is already available 2023-06-05 14:22:45 +00:00
Luca Scherzer
e30c52d428 fix spelling error 2023-06-05 16:01:09 +02:00
est31
b048396f44 Update field-offset and enable unstable_offset_of
This enables usage of the offset_of!() macro in the compiler,
through the wrappers in memoffset and then in field-offset.
2023-06-05 15:57:13 +02:00
MarcusGrass
6f2497703e
Compact issue link
Co-authored-by: Takayuki Nakata <f.seasons017@gmail.com>
2023-06-05 15:48:57 +02:00
Guillaume Gomez
48c46f275b Move write! arguments directly into the string 2023-06-05 15:31:18 +02:00