Ralf Jung
f1c95c9000
intrinsics: deprecate calling them via the unstable std::intrinsics path
2025-01-15 09:41:33 +01:00
Ralf Jung
cf0ab86251
allowed_through_unstable_modules: support showing a deprecation message when the unstable module name is used
2025-01-15 09:41:33 +01:00
Lukas Wirth
0ed9d1c8e5
Merge pull request #18925 from Veykril/push-mtxxvpowwtrt
...
feat: Render type parameter projection target bounds in inlays
2025-01-15 08:08:15 +00:00
Lukas Wirth
eed2b5cf94
feat: Render type parameter projection target bounds in inlays
2025-01-15 08:54:38 +01:00
Lukas Wirth
a12c80ded2
Merge pull request #18917 from boattime/master
...
feat: Add dereferencing autocomplete
2025-01-15 07:46:18 +00:00
The Miri Cronjob Bot
0930bfe6d2
Merge from rustc
2025-01-15 05:08:39 +00:00
The Miri Cronjob Bot
3313e9c3e1
Preparing for merge from rustc
2025-01-15 05:01:42 +00:00
bors
93ba568ab9
Auto merge of #135385 - rust-lang:cargo_update, r=clubby789
...
Weekly `cargo update`
Automation to keep dependencies in `Cargo.lock` current.
The following is the output from `cargo update`:
```txt
compiler & tools dependencies:
Locking 27 packages to latest compatible versions
Updating bitflags v2.6.0 -> v2.7.0
Updating clap v4.5.23 -> v4.5.26
Updating clap_builder v4.5.23 -> v4.5.26
Updating clap_complete v4.5.40 -> v4.5.42
Updating clap_derive v4.5.18 -> v4.5.24
Updating handlebars v6.2.0 -> v6.3.0
Updating libz-sys v1.1.20 -> v1.1.21
Updating linux-raw-sys v0.4.14 -> v0.4.15
Updating phf v0.11.2 -> v0.11.3
Updating phf_codegen v0.11.2 -> v0.11.3
Updating phf_generator v0.11.2 -> v0.11.3
Updating phf_shared v0.11.2 -> v0.11.3
Updating pin-project-lite v0.2.15 -> v0.2.16
Updating proc-macro2 v1.0.92 -> v1.0.93
Updating rustix v0.38.42 -> v0.38.43
Updating serde_json v1.0.134 -> v1.0.135
Adding siphasher v1.0.1
Updating syn v2.0.94 -> v2.0.96
Updating thiserror v2.0.9 -> v2.0.11
Updating thiserror-impl v2.0.9 -> v2.0.11
Updating tokio v1.42.0 -> v1.43.0
Updating uuid v1.11.0 -> v1.11.1
Updating wasm-encoder v0.222.0 -> v0.223.0
Adding wasmparser v0.223.0
Updating wast v222.0.0 -> v223.0.0
Updating wat v1.222.0 -> v1.223.0
Updating xattr v1.3.1 -> v1.4.0
note: pass `--verbose` to see 39 unchanged dependencies behind latest
library dependencies:
Locking 0 packages to latest compatible versions
note: pass `--verbose` to see 4 unchanged dependencies behind latest
rustbook dependencies:
Locking 27 packages to latest compatible versions
Updating bitflags v2.6.0 -> v2.7.0
Updating cc v1.2.7 -> v1.2.8
Updating clap v4.5.23 -> v4.5.26
Updating clap_builder v4.5.23 -> v4.5.26
Updating clap_complete v4.5.40 -> v4.5.42
Updating clap_derive v4.5.18 -> v4.5.24
Adding darling v0.20.10
Adding darling_core v0.20.10
Adding darling_macro v0.20.10
Adding derive_builder v0.20.2
Adding derive_builder_core v0.20.2
Adding derive_builder_macro v0.20.2
Updating handlebars v6.2.0 -> v6.3.0
Adding ident_case v1.0.1
Updating linux-raw-sys v0.4.14 -> v0.4.15
Updating phf v0.11.2 -> v0.11.3
Updating phf_codegen v0.11.2 -> v0.11.3
Updating phf_generator v0.11.2 -> v0.11.3
Updating phf_shared v0.11.2 -> v0.11.3
Updating proc-macro2 v1.0.92 -> v1.0.93
Updating rustix v0.38.42 -> v0.38.43
Updating serde_json v1.0.134 -> v1.0.135
Adding siphasher v1.0.1
Updating syn v2.0.94 -> v2.0.96
Updating thiserror v2.0.9 -> v2.0.11
Updating thiserror-impl v2.0.9 -> v2.0.11
Updating winnow v0.6.22 -> v0.6.24
```
2025-01-15 03:54:21 +00:00
cod10129
67f49010ad
add tidy warning for unrecognized directives
...
This makes tidy warn on the presence of any directives it does not recognize.
There are changes in compiletest because that file used "tidy-alphabet" instead of "tidy-alphabetical".
2025-01-14 20:24:11 -06:00
David Richey
b470508cea
Hide syntax tree view by default
2025-01-14 13:21:42 -06:00
Michael Goulet
3d9dcf4636
Un-spaghettify the control flow of generate_lint_output
...
Co-authored-by: Eric Huss <eric@huss.org>
2025-01-14 18:43:30 +00:00
许杰友 Jieyou Xu (Joe)
98f673e93a
tests: port extern-fn-reachable to rmake.rs
...
Co-authored-by: binarycat <binarycat@envs.net>
2025-01-15 01:05:16 +08:00
Oli Scherer
a907c56a77
Add hir::HeaderSafety to make follow up commits simpler
2025-01-14 10:54:11 +00:00
1hakusai1
1f5a88a952
refactor: get(0) -> first()
2025-01-14 19:00:35 +09:00
1hakusai1
4cc9c15ebd
Remove trailing spaces
2025-01-14 17:54:15 +09:00
1hakusai1
4267a3ad34
fix_typo
2025-01-14 17:43:28 +09:00
Ralf Jung
d40f2f77bf
Merge pull request #4138 from geetanshjuneja/deref
...
Use deref_poiner_as instead of deref_pointer
2025-01-14 08:13:25 +00:00
1hakusai1
9792803924
Add the ability to jump from into to from definitions
2025-01-14 16:44:55 +09:00
Carson M.
49b2257f66
Update notify to 8.0.0
2025-01-14 01:31:07 -06:00
bors
e491caec14
Auto merge of #135359 - RalfJung:lang-start-unwind, r=joboet
...
use a single large catch_unwind in lang_start
I originally planned to use `abort_unwind` but reading the comment in `thread_cleanup` it seems we are deliberately going for slightly nicer error messages here, so this preserves that. It still seems nice to not repeat `catch_unwind` so often.
2025-01-14 05:58:48 +00:00
boattime
a10a921bb9
feat: Add dereferencing autocomplete
2025-01-13 17:00:49 -08:00
Yoh Deadfall
2bf831115c
Included Abdroid to an epoll test targets
2025-01-13 22:04:47 +03:00
Yoh Deadfall
498ea324e3
Illumos: Added epoll and eventfd
2025-01-13 22:04:47 +03:00
Chayim Refael Friedman
70309b11e0
Fix another bug when reaching macro expansion limit caused a stack overflow
...
This time without missing bindings.
Solve it by returning to the old ways, i.e. just throw the extra nodes away.
In other words, I acknowledge defeat.
2025-01-13 15:55:30 +02:00
Kajetan Puchalski
3d54764121
ci: Enable opt-dist for dist-aarch64-linux builds
...
Enable optimised AArch64 dist builds with the opt-dist pipeline.
For the time being, disable bolt on aarch64 due to upstream bolt bugs.
2025-01-13 10:33:28 +00:00
Jacob Pratt
abdd40d84d
Rollup merge of #135386 - lolbinarycat:bootstrap-test-cleanup, r=jieyouxu
...
clean up code related to the rustdoc-js test suite
r? `@jieyouxu`
2025-01-13 01:05:11 -05:00
geetanshjuneja
9f13ac8e6b
Added deref_poiner_as in _NSGetExecutablePath
2025-01-13 11:19:41 +05:30
Michael Goulet
9cbd17778a
Detect unstable lint docs that dont enable their feature
2025-01-13 02:04:05 +00:00
Guillaume Gomez
223a7c1237
Rollup merge of #135411 - Urgau:unreach_pub-run-make, r=jieyouxu
...
run_make_support: add `#![warn(unreachable_pub)]`
This PR enables the [`unreachable_pub`](https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#unreachable-pub ) lint as warn in the `run_make_support` crate.
Related to https://github.com/rust-lang/compiler-team/issues/773
r? ``@jieyouxu``
2025-01-12 23:09:01 +01:00
Guillaume Gomez
9d3ae11c54
Rollup merge of #135348 - aDotInTheVoid:pathspathspaths, r=GuillaumeGomez
...
rustdoc-json: Include items in stripped modules in `Crate::paths`.
Closes #135309
When we're running rustdoc-json, we should err on the side of adding more items to `Cache::paths`, as that directly becomes `Crate::paths` in the output.
r? ``@GuillaumeGomez.`` Best reviewed commit-by-commit.
2025-01-12 23:08:57 +01:00
Yoh Deadfall
b7b6dee26d
Added Android to epoll and eventfd test targets
2025-01-12 22:16:43 +03:00
Ralf Jung
8db1e9a2ed
Merge pull request #4135 from RalfJung/unsup-targets
...
Add FreeBSD maintainer; test all of Solarish
2025-01-12 16:12:36 +00:00
Ralf Jung
f4e05845a7
turns out Solarish targets support our entire test suite
2025-01-12 16:47:55 +01:00
Ralf Jung
be36fbb720
remove a rustfmt::skip
2025-01-12 16:41:51 +01:00
Ralf Jung
30708e1eab
record YohDeadfall as FreeBSD maintainer
2025-01-12 16:38:31 +01:00
Urgau
f25b0815a7
run_make_support: add #![warn(unreachable_pub)]
2025-01-12 16:12:34 +01:00
bors
7bb9888953
Auto merge of #135402 - matthiaskrgr:rollup-cz7hs13, r=matthiaskrgr
...
Rollup of 6 pull requests
Successful merges:
- #129259 (Add inherent versions of MaybeUninit methods for slices)
- #135374 (Suggest typo fix when trait path expression is typo'ed)
- #135377 (Make MIR cleanup for functions with impossible predicates into a real MIR pass)
- #135378 (Remove a bunch of diagnostic stashing that doesn't do anything)
- #135397 (compiletest: add erroneous variant to `string_enum`s conversions error)
- #135398 (add more crash tests)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-01-12 14:43:10 +00:00
Lukas Wirth
6766e6679d
internal: Compute inlay hint tooltips lazily
2025-01-12 14:42:44 +01:00
Lukas Wirth
ed121ecc2a
Fix text edits for discriminant hints
2025-01-12 14:04:35 +01:00
Lukas Wirth
b79da13a22
internal: Compute inlay hint text edits lazily
2025-01-12 14:00:37 +01:00
Lukas Wirth
ab9779b490
fix: Fix ref text edit for binding mode hints
2025-01-12 13:14:00 +01:00
Rémy Rakic
33ce74f308
add error message to string_enum!s string conversions
2025-01-12 08:13:45 +00:00
Rémy Rakic
d19bdf9b48
add test for string_enum
2025-01-12 08:05:50 +00:00
binarycat
d5f592ad58
rename run_js_doc_test to run_rustdoc_js_test
2025-01-12 00:21:31 -06:00
许杰友 Jieyou Xu (Joe)
1665b80b71
run-make-support: don't use lossy on TARGET_RPATH_DIR
2025-01-12 13:03:22 +08:00
许杰友 Jieyou Xu (Joe)
fec2e3ab1a
compiletest: include stage0-sysroot libstd dylib in recipe dylib search path
...
To fix some of the failures in
`COMPILETEST_FORCE_STAGE0=1 ./x test run-make --stage 0`.
2025-01-12 13:03:22 +08:00
binarycat
16286cefcf
rename 'js-doc-test' to 'rustdoc-js' in compiletest
2025-01-11 20:37:20 -06:00
github-actions
0f1e253066
cargo update
...
compiler & tools dependencies:
Locking 27 packages to latest compatible versions
Updating bitflags v2.6.0 -> v2.7.0
Updating clap v4.5.23 -> v4.5.26
Updating clap_builder v4.5.23 -> v4.5.26
Updating clap_complete v4.5.40 -> v4.5.42
Updating clap_derive v4.5.18 -> v4.5.24
Updating handlebars v6.2.0 -> v6.3.0
Updating libz-sys v1.1.20 -> v1.1.21
Updating linux-raw-sys v0.4.14 -> v0.4.15
Updating phf v0.11.2 -> v0.11.3
Updating phf_codegen v0.11.2 -> v0.11.3
Updating phf_generator v0.11.2 -> v0.11.3
Updating phf_shared v0.11.2 -> v0.11.3
Updating pin-project-lite v0.2.15 -> v0.2.16
Updating proc-macro2 v1.0.92 -> v1.0.93
Updating rustix v0.38.42 -> v0.38.43
Updating serde_json v1.0.134 -> v1.0.135
Adding siphasher v1.0.1
Updating syn v2.0.94 -> v2.0.96
Updating thiserror v2.0.9 -> v2.0.11
Updating thiserror-impl v2.0.9 -> v2.0.11
Updating tokio v1.42.0 -> v1.43.0
Updating uuid v1.11.0 -> v1.11.1
Updating wasm-encoder v0.222.0 -> v0.223.0
Adding wasmparser v0.223.0
Updating wast v222.0.0 -> v223.0.0
Updating wat v1.222.0 -> v1.223.0
Updating xattr v1.3.1 -> v1.4.0
note: pass `--verbose` to see 39 unchanged dependencies behind latest
library dependencies:
Locking 0 packages to latest compatible versions
note: pass `--verbose` to see 4 unchanged dependencies behind latest
rustbook dependencies:
Locking 27 packages to latest compatible versions
Updating bitflags v2.6.0 -> v2.7.0
Updating cc v1.2.7 -> v1.2.8
Updating clap v4.5.23 -> v4.5.26
Updating clap_builder v4.5.23 -> v4.5.26
Updating clap_complete v4.5.40 -> v4.5.42
Updating clap_derive v4.5.18 -> v4.5.24
Adding darling v0.20.10
Adding darling_core v0.20.10
Adding darling_macro v0.20.10
Adding derive_builder v0.20.2
Adding derive_builder_core v0.20.2
Adding derive_builder_macro v0.20.2
Updating handlebars v6.2.0 -> v6.3.0
Adding ident_case v1.0.1
Updating linux-raw-sys v0.4.14 -> v0.4.15
Updating phf v0.11.2 -> v0.11.3
Updating phf_codegen v0.11.2 -> v0.11.3
Updating phf_generator v0.11.2 -> v0.11.3
Updating phf_shared v0.11.2 -> v0.11.3
Updating proc-macro2 v1.0.92 -> v1.0.93
Updating rustix v0.38.42 -> v0.38.43
Updating serde_json v1.0.134 -> v1.0.135
Adding siphasher v1.0.1
Updating syn v2.0.94 -> v2.0.96
Updating thiserror v2.0.9 -> v2.0.11
Updating thiserror-impl v2.0.9 -> v2.0.11
Updating winnow v0.6.22 -> v0.6.24
2025-01-12 00:23:37 +00:00
Oli Scherer
78fdd59343
Merge pull request #4134 from RalfJung/miri-script-ra
...
adjust the way we build miri-script in RA, to fix proc-macros
2025-01-11 19:20:01 +00:00
Ralf Jung
4221765728
avoid issues due to MIRI_TEST_TARGET being set from the outside
2025-01-11 19:45:13 +01:00