bors
712b53865f
Auto merge of #15359 - Veykril:proc-macro-srv-spawn-err, r=Veykril
...
Write proc-macro server spawn errors to the status text
2023-07-30 12:39:13 +00:00
Lukas Wirth
bd6ec06237
Write proc-macro server spawn errors to the status text
2023-07-30 14:38:25 +02:00
Matthias Krüger
b9f17f1e78
Rollup merge of #114227 - asquared31415:tidy_check_fixed, r=albertlarsan68
...
Add tidy check for stray rustfix files
`x.fixed` files that don't correspond to a test file now emit a tidy error.
2023-07-30 14:25:10 +02:00
Matthias Krüger
de6caffe3a
Rollup merge of #114223 - ryanoneill:vec-indexing-doc-language, r=workingjubilee
...
Documentation: Fix Stilted Language in Vec->Indexing
Problem
Language in the Vec->Indexing documentation sounds stilted due to incorrect word ordering: "... type allows to access values by index."
Solution
Reorder words in the Vec->Indexing documentation to flow better: "... type allows access to values by index." The phrase "allows access to" also matches other existing documentation.
2023-07-30 14:25:10 +02:00
Matthias Krüger
a964f948d5
Rollup merge of #114068 - matthiaskrgr:fmt_args_rustc_1, r=WaffleLapkin
...
inline format!() args up to and including rustc_middle (2)
r? `@WaffleLapkin`
2023-07-30 14:25:09 +02:00
Matthias Krüger
427f3d3266
Rollup merge of #114018 - Enselic:multi-annotation, r=b-naber
...
Make `--error-format human-annotate-rs` handle multiple files
Closes #64205 which is E-help-wanted
2023-07-30 14:25:09 +02:00
Matthias Krüger
e3bf088fb5
Rollup merge of #112655 - WaffleLapkin:must_use_map_or, r=workingjubilee
...
Mark `map_or` as `#[must_use]`
I don't know what else to say.
r? libs
2023-07-30 14:25:08 +02:00
Matthias Krüger
e517ee02b2
Rollup merge of #110056 - chenyukang:yukang/fix-110045, r=workingjubilee
...
Fix the example in document for WaitTimeoutResult::timed_out
Fixes #110045
2023-07-30 14:25:08 +02:00
Matthias Krüger
3ce90b1649
inline format!() args up to and including rustc_codegen_llvm
2023-07-30 14:22:50 +02:00
bors
483ef5f4d8
Auto merge of #114066 - matthiaskrgr:fmt_args_inline_bootstrap, r=WaffleLapkin
...
bootstrap: inline format!() args (0)
r? `@WaffleLapkin`
2023-07-30 12:14:04 +00:00
Lukas Wirth
4172dcc9fd
Add triagebot no-merges config
2023-07-30 14:02:03 +02:00
y21
008746cae4
[unnecessary_find_map
]: look for then_some
2023-07-30 13:51:35 +02:00
Guillaume Gomez
148a0c1673
Remove some unneeded clone()
calls
2023-07-30 13:26:36 +02:00
Matthias Krüger
23815467a2
inline format!() args up to and including rustc_middle
2023-07-30 13:18:33 +02:00
Bryanskiy
8203d1ddf6
Weaken unnameable_types lint
2023-07-30 14:02:21 +03:00
bors
ebcd25d46c
Auto merge of #15357 - Veykril:mismatched-macro-def-call, r=Veykril
...
fix: Do not create fn macro calls with non-fn expanders
Fixes https://github.com/rust-lang/rust-analyzer/issues/15327
2023-07-30 10:55:14 +00:00
Maybe Waffle
90f9640528
Mark map_or
as #[must_use]
2023-07-30 10:22:23 +00:00
Lukas Wirth
df725d6b6d
fix: Do not create fn macro calls with non-fn expanders
2023-07-30 12:18:19 +02:00
Matthias Krüger
a0503a83d0
bootstrap: inline format!() args
2023-07-30 11:46:14 +02:00
bors
2266ecf9dd
Auto merge of #15356 - Veykril:eager-missing-tt, r=Veykril
...
fix: Fix bad unwrap in eager_macro_recur
Some logic changed so this path can be hit now with a missing token tree.
2023-07-30 09:41:59 +00:00
Lukas Wirth
3db437cbd6
fix: Fix bad unwrap in eager_macro_recur
2023-07-30 11:41:21 +02:00
León Orell Valerian Liehr
0ca432844c
Check lazy type aliases for well-formedness
2023-07-30 11:24:15 +02:00
yukang
d67d9890ae
Fix the example in document for WaitTimeoutResult::timed_out
2023-07-30 16:39:33 +08:00
bors
c0bdb3d337
Auto merge of #11258 - Jarcho:ice_11256, r=Centri3
...
Resolve type aliases in `type_certainty`
Fixes #11256
changelog: `unwrap_or_default`: Fix ICE when local types are declared using alias types
2023-07-30 07:57:47 +00:00
bors
4c9ac1e93b
Auto merge of #114236 - fee1-dead-contrib:rollup-m92j7q1, r=fee1-dead
...
Rollup of 3 pull requests
Successful merges:
- #112151 (Clarify behavior of inclusive bounds in BTreeMap::{lower,upper}_bound)
- #113512 (Updated lines doc to include trailing carriage return note)
- #114203 (Effects: don't print `host` param in diagnostics)
r? `@ghost`
`@rustbot` modify labels: rollup
2023-07-30 07:57:13 +00:00
Jason Newcomb
caf601434b
Resolve type aliases in type_certainty
2023-07-30 03:26:32 -04:00
fee1-dead
7b4bfd640d
Rollup merge of #114203 - fee1-dead-contrib:effects/pp-no-host, r=oli-obk
...
Effects: don't print `host` param in diagnostics
r? ``@oli-obk``
2023-07-30 07:13:03 +00:00
fee1-dead
b97da75156
Rollup merge of #113512 - vallentin:lines-doc, r=workingjubilee
...
Updated lines doc to include trailing carriage return note
Updated `str::lines` doc to include explicit info about (trailing) carriage returns.
Reference: #100311
2023-07-30 07:13:02 +00:00
fee1-dead
3143030cda
Rollup merge of #112151 - chloekek:patch-1, r=workingjubilee
...
Clarify behavior of inclusive bounds in BTreeMap::{lower,upper}_bound
It wasn’t quite clear to me how these methods would interpret inclusive bounds so I added examples for those.
2023-07-30 07:13:01 +00:00
bors
2e0136a131
Auto merge of #112280 - zica87:master, r=workingjubilee
...
Remove redundant example of `BTreeSet::iter`
The usage and that `Values returned by the iterator are returned in ascending order` are already demonstrated by the other example and the description, so I removed the useless one.
2023-07-30 06:12:03 +00:00
bors
2183cdac19
Auto merge of #2996 - rust-lang:rustup-2023-07-30, r=oli-obk
...
Automatic sync from rustc
2023-07-30 05:52:12 +00:00
The Miri Conjob Bot
a4bfcbe4d3
fmt
2023-07-30 05:45:01 +00:00
The Miri Conjob Bot
16816aa859
Merge from rustc
2023-07-30 05:43:01 +00:00
bors
4c2f460dcc
Auto merge of #8685 - Jarcho:redundant_closure_fixes, r=llogiq
...
`redundant_closure` fixes
fixes #8548
A good chunk of the code is fixing false negatives. The old code banned any non late-bound regions from appearing in the callee's signature. The new version checks when the late-bound region is actually required.
changelog: Better track when a early-bound region appears when a late-bound region is required in `redundant_closure`.
changelog: Don't lint `redundant_closure` when the closure gives explicit types.
2023-07-30 05:41:24 +00:00
The Miri Conjob Bot
8ddc72eca4
Preparing for merge from rustc
2023-07-30 05:36:38 +00:00
Jason Newcomb
7423c2760b
Don't lint redundant closure for any function call inserted by the compiler.
2023-07-30 01:19:36 -04:00
Jason Newcomb
4d80a2ed2e
Rework redundant_closure
...
* Better track when a early-bound region appears when a late-bound region is required
* Don't lint when the closure gives explicit types.
2023-07-30 01:19:29 -04:00
Jason Newcomb
71cc39e1f2
Add debug assertions to implements_trait
...
Improve debug assertions for `make_projection`
2023-07-30 00:38:04 -04:00
Jubilee Young
c81d3e23d1
Remove LLVM 14 codegen tests
...
We raised our LLVM minimum to 15, so these tests seem pointless.
2023-07-29 18:34:41 -07:00
Jubilee Young
f03b31591c
tests/codegen/c-variadic* -> cffi/c-variadic*
2023-07-29 18:34:41 -07:00
Jubilee Young
badba92036
tests/codegen/ffi-* -> cffi/ffi-*
2023-07-29 18:34:41 -07:00
Jubilee Young
0ca0556651
tests/codegen/naked-* -> naked-fn/naked-*
2023-07-29 18:34:41 -07:00
Jubilee Young
45c284cd98
tests/codegen/*simd*.rs -> simd/*simd*
2023-07-29 18:34:41 -07:00
Jubilee Young
df2264a284
tests/codegen/*-macos-* -> macos/*
2023-07-29 18:34:41 -07:00
Jubilee Young
06711615aa
tests/codegen/enum-* -> enum/enum-*
2023-07-29 18:34:41 -07:00
Jubilee Young
4d2957cfdf
Fix sanitizer tests depending on filename
...
In the basic case, simply do the string substitution.
For one case with many instances, capture the Itanium-
mangled filename and assert its reuse instead.
2023-07-29 18:09:48 -07:00
bors
fb53384c94
Auto merge of #114226 - matthiaskrgr:rollup-wxdudsm, r=matthiaskrgr
...
Rollup of 3 pull requests
Successful merges:
- #114129 (Rustdoc small cleanups)
- #114152 ([rustc][data_structures] Simplify binary_search_slice.)
- #114222 (Mark `lazy_type_alias` as incomplete)
r? `@ghost`
`@rustbot` modify labels: rollup
2023-07-30 00:41:35 +00:00
Jubilee Young
0f534d06a8
tests/codegen/sanitizer{-,_}* -> sanitizer/*
2023-07-29 17:34:16 -07:00
asquared31415
6850a00bd0
add tidy check for stray rustfix files
2023-07-29 23:49:04 +00:00
Matthias Krüger
d4926b13aa
Rollup merge of #114222 - compiler-errors:lazy-type-alias-is-incomplete, r=oli-obk
...
Mark `lazy_type_alias` as incomplete
This feature is very not complete: https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Aopen+label%3AF-lazy_type_alias
r? types
2023-07-30 01:22:43 +02:00