Jane Losare-Lusby
f9460814c8
bump rustc-perf commit
2022-07-28 18:40:39 +00:00
bors
cab1055430
Auto merge of #12903 - lnicola:rainbows, r=Veykril
...
Only run rainbow highlighting test on 64-bit Unix
2022-07-28 18:08:09 +00:00
Laurențiu Nicola
948c9afc73
Only run rainbow highlighting test on 64-bit Unix
2022-07-28 21:03:59 +03:00
bors
b8763fe224
Auto merge of #12902 - Veykril:item-scope, r=Veykril
...
fix: Order ItemScope::entries results
2022-07-28 17:38:59 +00:00
Lukas Wirth
f867ddc621
fix: Order ItemScope::entries results
2022-07-28 19:28:56 +02:00
Philipp Krones
d673219ea3
Update Cargo.lock
2022-07-28 19:08:41 +02:00
Philipp Krones
7a782537b1
Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup
2022-07-28 19:08:22 +02:00
Lokathor
2eac6f30c8
once again tidy was unhappy
2022-07-28 10:58:42 -06:00
bors
3c7e7dbc15
Auto merge of #9257 - flip1995:rustup, r=flip1995
...
Rustup
r? `@ghost`
changelog: none
2022-07-28 16:56:38 +00:00
Philipp Krones
510effce59
Bump nightly version -> 2022-07-28
2022-07-28 18:56:16 +02:00
Philipp Krones
0905ec465d
Merge remote-tracking branch 'upstream/master' into rustup
2022-07-28 18:55:32 +02:00
klensy
339509494d
bootstrap: don't emit warn about duplicated deps with same/different features, if some of lists actually empty
2022-07-28 19:50:11 +03:00
Hudson Ayers
6dea21a4a2
location-detail: disable all location details when passed none
...
Prior to this fix, `-Z location-detail` provided no mechanism for
disabling all location details. This commit also adds a test case
to verify that this option continues to work as intended, and
clarifies the documentation of this option.
2022-07-28 09:45:59 -07:00
Dylan DPC
55f041e1f6
Rollup merge of #99856 - csmoe:osx-no-dead-strip, r=bjorn3
...
fix: remove fake no_dead_strip for osx
Closes https://github.com/rust-lang/rust/issues/99788
Link arg `-no_dead_strip` doesn't exist on OSX at all.
The `no_gc_sections` function was never called before export-executable-symols implementation, and `export-executable-symbols` still works, so we just remove it.
r? `@bjorn3`
2022-07-28 22:14:51 +05:30
Dylan DPC
889497cec0
Rollup merge of #99851 - yotamofek:patch-1, r=Mark-Simulacrum
...
Fix small typo in Cargo.toml comment
2022-07-28 22:14:50 +05:30
Dylan DPC
862074f7b0
Rollup merge of #99817 - notriddle:notriddle/clean-trait-removal, r=GuillaumeGomez
...
rustdoc: remove Clean trait impls for more items
Follow up to https://github.com/rust-lang/rust/pull/99638 and https://github.com/rust-lang/rust/pull/99672
2022-07-28 22:14:49 +05:30
Dylan DPC
a045788430
Rollup merge of #99807 - Nilstrieb:wsl-ui-test-fix, r=Mark-Simulacrum
...
Fix PermissionDenied UI tests on WSL
On my WSL with `appendWindowsPath=true`, running an invalid command returns `PermissionDenied` instead of `NotFound`, causing two UI tests to fail.
2022-07-28 22:14:48 +05:30
Dylan DPC
48efd30c9d
Rollup merge of #99689 - dtolnay:write, r=Mark-Simulacrum
...
Revert `write!` and `writeln!` to late drop temporaries
Closes (on master, but not on beta) #99684 by reverting the `write!` and `writeln!` parts of #96455 .
argument position | before<br>#94868 | after<br>#94868 | after<br>#96455 | after<br>this PR | desired<br>(unimplementable)
--- |:---:|:---:|:---:|:---:|:---:
`write!($tmp, "…", …)` | **⸺late** | **⸺late** | *early⸺* | **⸺late** | **⸺late**
`write!(…, "…", $tmp)` | **⸺late** | **⸺late** | *early⸺* | **⸺late** | *early⸺*
`writeln!($tmp, "…", …)` | **⸺late** | **⸺late** | *early⸺* | **⸺late** | **⸺late**
`writeln!(…, "…", $tmp)` | **⸺late** | **⸺late** | *early⸺* | **⸺late** | *early⸺*
`print!("…", $tmp)` | **⸺late** | **⸺late** | *early⸺* | *early⸺* | *early⸺*
`println!("…", $tmp)` | *early⸺* | **⸺late** | *early⸺* | *early⸺* | *early⸺*
`eprint!("…", $tmp)` | **⸺late** | **⸺late** | *early⸺* | *early⸺* | *early⸺*
`eprintln!("…", $tmp)` | *early⸺* | **⸺late**| *early⸺* | *early⸺* | *early⸺*
`panic!("…", $tmp)` | *early⸺* | *early⸺* | *early⸺* | *early⸺* | *early⸺*
"Late drop" refers to dropping temporaries at the nearest semicolon **outside** of the macro invocation.
"Early drop" refers to dropping temporaries inside of the macro invocation.
2022-07-28 22:14:46 +05:30
Dylan DPC
a479cab09a
Rollup merge of #99628 - vincenzopalazzo:macros/is_number_doc, r=joshtriplett
...
add more docs regarding ideographic numbers
This was discussed in the last lib meeting and I try to avoid forgetting to open a PR because I think having some docs can help people.
However, I think we need to discuss a little bit if this is enough or if we need to add more clarification? Maybe an example?
Inspiration Source: https://github.com/rust-lang/rust/issues/84056#issuecomment-1184725924
Including suggestion https://github.com/rust-lang/rust/pull/99626#issuecomment-1192983043 my bad command git close the PR
2022-07-28 22:14:46 +05:30
Lokathor
9cf5b2d81c
Update thumbv4t_none_eabi.rs
2022-07-28 10:43:05 -06:00
bors
36f4f4aa38
Auto merge of #99780 - Nilstrieb:mir-opt-test-line-no, r=oli-obk
...
Use line numbers relative to the function in mir-opt tests
As shown in #99770 , the line numbers can be a big source of needless and confusing diffs. This PR adds a new flag `-Zmir-pretty-relative-line-numbers` to make them relative to the function declaration, which avoids most needless diffs from attribute changes.
`@JakobDegen` told me that there has been a zulip conversation about disabling line numbers with mixed opinions, so I'd like to get some feedback here, for this hopefully better solution.
r? rust-lang/wg-mir-opt
2022-07-28 16:22:19 +00:00
Maybe Waffle
7da578b8f8
--bless tests
2022-07-28 20:15:24 +04:00
Vincenzo Palazzo
47a0a56c1d
add more docs regarding ideographic numbers
...
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2022-07-28 15:52:18 +00:00
bors
32e640e2ba
Auto merge of #12901 - Veykril:completion-trait-expr, r=Veykril
...
fix: Don't complete marker traits in expression position
cc https://github.com/rust-lang/rust-analyzer/issues/12196
2022-07-28 15:51:30 +00:00
Lukas Wirth
ce7541260d
fix: Don't complete marker traits in expression position
2022-07-28 17:50:49 +02:00
bors
af2b806c1c
Auto merge of #12900 - pksunkara:master, r=lnicola
...
publish: Use cargo ws rename to rename crates
Follow up for #12716
2022-07-28 15:25:07 +00:00
Pavan Kumar Sunkara
8658425a67
publish: Use cargo ws rename to rename crates
2022-07-28 16:21:14 +01:00
bors
5986d2190f
Auto merge of #12899 - Veykril:compl-qualifier, r=Veykril
...
fix: Do completions in path qualifier position
Fixes https://github.com/rust-lang/rust-analyzer/issues/12566
Not too happy with the duplication needed for this, but it is what it is. Completions in path qualifiers will have to be filtered properly still, but its better to show too many completions for this than too few for now.
2022-07-28 15:11:24 +00:00
Lukas Wirth
74abd44a26
fix: Do completions in path qualifier position
2022-07-28 17:09:31 +02:00
klensy
2787d4280f
fix memchr features in workspace-hack
2022-07-28 17:24:46 +03:00
csmoe
03f9efedb1
fix: remove fake no_dead_strip for osx
2022-07-28 22:22:13 +08:00
lcnr
c3fce8e937
anonymize all bound vars, not just regions
2022-07-28 16:13:47 +02:00
lcnr
fd59d058ec
BoundVarReplacer
: trait object instead of 3 fns
2022-07-28 16:13:47 +02:00
bors
02c240ff81
Auto merge of #12898 - Veykril:compl-pat-brace, r=Veykril
...
fix: Fix pattern completions adding unnecessary braces
Fixes https://github.com/rust-lang/rust-analyzer/issues/12852
2022-07-28 13:48:12 +00:00
Lukas Wirth
7c59d7c75c
fix: Fix pattern completions adding unnecessary braces
2022-07-28 15:47:46 +02:00
Jack Wrenn
e8a1925b64
safe transmute: use AtomicU32
State
ids to appease mips
...
...instead of `AtomicU64`, which is unavailable.
ref: https://github.com/rust-lang/rust/pull/92268#issuecomment-1197797990
2022-07-28 13:47:11 +00:00
bors
e5682615bb
Auto merge of #99849 - Dylan-DPC:rollup-1yfpplw, r=Dylan-DPC
...
Rollup of 5 pull requests
Successful merges:
- #99714 (Fix regression introduced with #99383 )
- #99723 (Allow using stable os::fd::raw items through unstable os::wasi module)
- #99810 (Fix settings slider on small width screens)
- #99837 (Avoid `Symbol` to `String` conversions)
- #99846 (Refactor `UnresolvedImportError`)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
2022-07-28 13:32:35 +00:00
Maybe Waffle
620b0f1935
improve type mismatch error for functions
...
This also fixes the argument names in `report_closure_arg_mismatch`
(confusing expected/found)
2022-07-28 17:29:47 +04:00
Tomasz Miąsko
01f4534b42
Build rust demangler before running run-make tests
2022-07-28 14:33:29 +02:00
Tomasz Miąsko
2e7b421778
Diagnose missing make includes
2022-07-28 14:33:29 +02:00
Tomasz Miąsko
866d5c621c
Move coverage tests from run-make-fulldeps to run-make
2022-07-28 14:33:29 +02:00
Nilstrieb
11c0280798
bless mir opt tests
2022-07-28 14:24:44 +02:00
Yotam Ofek
ee0ce346e8
Fix small typo in Cargo.toml comment
2022-07-28 14:29:58 +03:00
Dylan DPC
71b0e95b82
Rollup merge of #99846 - TaKO8Ki:refactor-UnresolvedImportError, r=davidtwco
...
Refactor `UnresolvedImportError`
This patch changes the type of `note` field in `UnresolvedImportError` to `Option<String>`.
2022-07-28 16:38:35 +05:30
Dylan DPC
3a37c9a47e
Rollup merge of #99837 - TaKO8Ki:avoid-symbol-to-string-conversions, r=fee1-dead
...
Avoid `Symbol` to `String` conversions
follow-up to #99508
2022-07-28 16:38:34 +05:30
Dylan DPC
3c4a66d04e
Rollup merge of #99810 - GuillaumeGomez:fix-settings-slider-small-width, r=notriddle
...
Fix settings slider on small width screens
Fixes #99794 .
Screenshot of the fix:
![Screenshot from 2022-07-27 14-17-08](https://user-images.githubusercontent.com/3050060/181250007-55f982d1-89db-45b7-a4f1-0d1729e6a3e3.png )
cc `````@jsha`````
r? `````@notriddle`````
2022-07-28 16:38:31 +05:30
Dylan DPC
f3266923fe
Rollup merge of #99723 - bstrie:wasifd, r=yaahc
...
Allow using stable os::fd::raw items through unstable os::wasi module
This fixes a regression from stable to nightly.
Closes #99502 .
2022-07-28 16:38:31 +05:30
Dylan DPC
91b8b9ba4b
Rollup merge of #99714 - ouz-a:issue_57961, r=oli-obk
...
Fix regression introduced with #99383
Fixes #99642
2022-07-28 16:38:30 +05:30
Guillaume Gomez
660dc6f393
Remove Clean trait implementation for VariantData fields
2022-07-28 13:08:08 +02:00
Guillaume Gomez
961dce44a9
Remove Clean trait implementation for VariantStruct
2022-07-28 13:05:19 +02:00