hkalbasi
bb85a980e0
Bump chalk
2023-06-30 23:36:47 +03:30
Michael Goulet
982f025cad
use explicit predicates
2023-06-30 18:55:43 +00:00
Michael Goulet
0d2fede817
reflow comment, not a FIXME i think
2023-06-30 18:51:27 +00:00
bors
464edbed05
Auto merge of #11051 - Centri3:eq_op, r=llogiq
...
Make `eq_op` suggest `.is_nan()`
changelog: Enhancement: [`eq_op`]: Suggests `is_nan()` for `x != x` where `x` is a float
2023-06-30 18:26:28 +00:00
bors
0841a84935
Auto merge of #15184 - HKalbasi:mir, r=HKalbasi
...
Disable mir interpreter for targets with different pointer size from host
fix #15182
2023-06-30 17:53:11 +00:00
hkalbasi
45828cdb54
Disable mir interpreter for targets with different pointer size from host
2023-06-30 21:21:52 +03:30
est31
20dfaba035
Put into one pass
2023-06-30 19:47:22 +02:00
Gary Guo
39c3ef799f
Fix comment of fn_can_unwind
2023-06-30 18:38:56 +01:00
bors
76bcd9946a
Auto merge of #15169 - lowr:patch/impl-header-anon-lifetime, r=HKalbasi
...
Use anonymous lifetime where possible
Because anonymous lifetimes are *super* cool.
More seriously, I believe anonymous lifetimes, especially those in impl headers, reduce cognitive load to a certain extent because they usually signify that they are not relevant in the signature of the methods within (or that we can apply the usual lifetime elision rules even if they are relevant).
2023-06-30 16:57:20 +00:00
Catherine
efac83813d
Make eq_op suggest .is_nan()
2023-06-30 11:43:02 -05:00
Maybe Waffle
bf5eaa4550
llvm ffi: Expose CallInst->setTailCallKind
2023-06-30 16:31:45 +00:00
est31
c6be62159f
Fix the now stricter lint in manual_rem_euclid.rs
2023-06-30 18:01:28 +02:00
est31
86391abc70
Don't lint manual_let_else in cases where the question mark operator would work
...
Also, lint question_mark for `let...else` clauses that can be simplified to use `?`.
This lint isn't perfect as it doesn't support the unstable try blocks.
2023-06-30 18:01:27 +02:00
Cyborus04
215cf36d64
Add support for allocators in Rc and Arc
2023-06-30 11:40:19 -04:00
Cyborus04
a52f8f688b
Add support for allocators in Rc and Arc
2023-06-30 11:33:16 -04:00
Ryo Yoshida
5db0e1a346
Restructure ImportMap collection
2023-07-01 00:18:23 +09:00
Ryo Yoshida
2b106648a7
Only store item name instead of full path
2023-07-01 00:17:57 +09:00
bors
f4b80cacf9
Auto merge of #113200 - ferrocene:pa-fix-mir-opt-bless, r=oli-obk
...
Fix loading target specs in compiletest not working with custom targets
In https://github.com/rust-lang/rust/pull/112454#issuecomment-1611351168 it was pointed out that the PR broke blessing mir-opt tests. Since #112418 , blessing mir-opt tests generates "synthetic targets", which are custom target specs. Those specs are not included in `--print=all-target-specs-json`, and #112454 required that the current target was returned by that flag.
This PR fixes the breakage by loading the target spec for the current target explicitly, if a custom target is detected.
r? `@oli-obk`
2023-06-30 15:02:46 +00:00
bors
7a3991a544
Auto merge of #15180 - alibektas:15176, r=Veykril
...
Purge of unwraps
Removes unnecessary unwraps that I have overlooked in #15101 ( fixes #15176 )
2023-06-30 14:46:49 +00:00
Ryo Yoshida
860628af7c
Remove SearchMode:Contains
...
Also micro-optimizes fuzzy search.
2023-06-30 23:37:23 +09:00
Ryo Yoshida
8cd4e9f7ec
Merge assoc_items_only and exclude_import_kinds into assoc_mode
2023-06-30 23:37:10 +09:00
Ryo Yoshida
97b725e269
Remove name_only from import map query
2023-06-30 23:35:55 +09:00
Ali Bektas
cfbeb66a63
Purge of unwrap version 2
2023-06-30 16:31:20 +02:00
Guilliam Xavier
e34ff93c6b
std docs: factorize literal in Barrier example
2023-06-30 16:11:30 +02:00
bors
2c40b99d08
Auto merge of #11048 - flip1995:rustup, r=flip1995
...
Rustup
r? `@ghost`
changelog: none
2023-06-30 14:09:53 +00:00
Philipp Krones
30d08d35f2
Bump nightly version -> 2023-06-29
2023-06-30 16:09:15 +02:00
Philipp Krones
8010c3462d
Merge remote-tracking branch 'upstream/master' into rustup
2023-06-30 16:09:06 +02:00
Ali Bektas
72aeaef5f3
Purge of unwraps
2023-06-30 15:47:17 +02:00
y21
648d1ae8e0
lint on matches and pattern matching
2023-06-30 14:54:49 +02:00
Pietro Albini
00cc815e57
fix loading target specs in compiletest not working with custom targets
2023-06-30 14:36:14 +02:00
Eric Mark Martin
76a7772759
resolve typerelative ctors to adt
2023-06-30 08:26:56 -04:00
Bryanskiy
f9a4db7312
Fix associated items effective visibility calculation for type privacy lints
2023-06-30 15:00:24 +03:00
bors
56d507dc92
Auto merge of #109524 - bzEq:aix-embed-llvmbc, r=nagisa
...
Support embedding LLVM bitcode on AIX
2023-06-30 11:39:58 +00:00
Luca Barbato
528f11c24b
Mark wrapped intrinsics as inline(always)
...
This should mitigate having the inliner decide not to inline when
the architecture is lacking an implementation of
TargetTransformInfo::areInlineCompatible aware of the target
features (e.g. PowerPC as today).
2023-06-30 12:07:21 +02:00
lcnr
01769221bc
assemble_candidates_after_normalizing_self_ty docs
2023-06-30 11:56:10 +02:00
Guillaume Gomez
60c657f73a
Improve search-result-display.goml test
2023-06-30 11:45:42 +02:00
Guillaume Gomez
f748aa5634
Update browser-ui-test version to 0.16.8
2023-06-30 11:45:37 +02:00
bors
af9df2fd91
Auto merge of #106619 - agausmann:avr-object-file, r=nagisa
...
Fix unset e_flags in ELF files generated for AVR targets
Closes #106576
~~Sort-of blocked by gimli-rs/object#500~~ (merged)
I'm not sure whether the list of AVR CPU names is okay here. Maybe it could be moved out-of-line to improve the readability of the function.
2023-06-30 08:55:56 +00:00
Zalathar
115cfda6c2
compiletest: Only trim the end of process output
2023-06-30 17:41:34 +10:00
yukang
cfa1a79009
User may want to skip tidy check sometimes
2023-06-30 15:37:10 +08:00
bors
f96442aa90
Auto merge of #15177 - rust-lang:Veykril-patch-1, r=Veykril
...
Fix panic in `handle_code_action`
🤞 that CI is happy with this, edited this via github
2023-06-30 06:56:21 +00:00
yukang
4189faa21e
add typecheck for iterator
2023-06-30 14:50:27 +08:00
Lukas Wirth
7e7f401a81
Fix panic in handle_code_action
2023-06-30 08:42:46 +02:00
Lukas Wirth
60d046f567
Fix panic in handle_code_action
2023-06-30 08:38:44 +02:00
bors
d597369253
Auto merge of #15175 - lnicola:cross-env, r=Veykril
...
internal: Drop `cross-env` npm dep
2023-06-30 06:35:09 +00:00
bors
b4591cb04c
Auto merge of #113188 - matthiaskrgr:rollup-j3abaks, r=matthiaskrgr
...
Rollup of 6 pull requests
Successful merges:
- #107624 (Stabilize `const_cstr_methods`)
- #111403 (suggest `slice::swap` for `mem::swap(&mut x[0], &mut x[1])` borrowck error)
- #113071 (Account for late-bound vars from parent arg-position impl trait)
- #113165 (Encode item bounds for `DefKind::ImplTraitPlaceholder`)
- #113171 (Properly implement variances_of for RPITIT GAT)
- #113177 (Use structured suggestion when telling user about `for<'a>`)
r? `@ghost`
`@rustbot` modify labels: rollup
2023-06-30 06:31:57 +00:00
Laurențiu Nicola
477a75d671
Drop cross-env npm dep
2023-06-30 09:20:02 +03:00
yukang
44a8a8d0ca
Better messages for next in a iterator inside for loops
2023-06-30 14:02:02 +08:00
Matthias Krüger
207b24413c
Rollup merge of #113177 - estebank:hrlt-sugg, r=compiler-errors
...
Use structured suggestion when telling user about `for<'a>`
```
error[E0637]: `&` without an explicit lifetime name cannot be used here
--> $DIR/E0637.rs:13:13
|
LL | T: Into<&u32>,
| ^ explicit lifetime name needed here
|
help: consider introducing a higher-ranked lifetime here
|
LL | T: for<'a> Into<&'a u32>,
| +++++++ ++
```
2023-06-30 08:01:14 +02:00
Matthias Krüger
38e6bba9c1
Rollup merge of #113171 - spastorino:new-rpitit-25, r=compiler-errors
...
Properly implement variances_of for RPITIT GAT
This fixes some of the issues found by crater run in https://github.com/rust-lang/rust/pull/112988#issuecomment-1610019572
r? ``@compiler-errors``
2023-06-30 08:01:14 +02:00