Skip to content

Rollup of 10 pull requests #139552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 34 commits into from
Apr 9, 2025
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
fddb425
test directive can appear anywhere in the file
tshepang Apr 3, 2025
b69d514
Merge pull request #2314 from rust-lang/tshepang-patch-3
fmease Apr 3, 2025
ceba464
add some links about the rustdoc-gui test suite
lolbinarycat Apr 3, 2025
a1d345f
Merge pull request #2315 from lolbinarycat/rustdoc-gui-readme
GuillaumeGomez Apr 3, 2025
fb6af25
Update book.toml fix the authors field
szabgab Apr 4, 2025
377f2d3
Merge pull request #2316 from szabgab/patch-1
JohnTitor Apr 4, 2025
49ea232
Fix deadlink in libs-and-metadata.md
kxxt Apr 6, 2025
1ec36e1
Merge pull request #2317 from kxxt/patch-1
TaKO8Ki Apr 6, 2025
f74e85e
Preparing for merge from rustc
invalid-email-address Apr 7, 2025
5a28e1e
Merge from rustc
invalid-email-address Apr 7, 2025
30fb3d9
Merge pull request #2291 from rust-lang/rustc-pull
jieyouxu Apr 7, 2025
eb676fd
improve flow
tshepang Apr 7, 2025
e6b1fe4
Merge pull request #2318 from rust-lang/tshepang-patch-3
jieyouxu Apr 7, 2025
14d1215
Restrict some queries by def-kind more
compiler-errors Apr 7, 2025
bc29123
Revert "remove rust-analyser support for `extern "rust-intrinsic"` b…
Skgland Apr 7, 2025
eb4bc2c
add missing word in doc comment (part 2)
tshepang Apr 8, 2025
c532045
Improve presentation of closure signature mismatch from Fn trait goal
compiler-errors Apr 8, 2025
d940038
Remove unnecessary dyn Display in favor of str
compiler-errors Apr 8, 2025
3dec37f
compiletest: sort dependencies alphabetically
jieyouxu Apr 8, 2025
603685c
compiletest: drop dependency on `anyhow`
jieyouxu Apr 8, 2025
245cf8e
Fix deprecation note for std::intrinsics
smanilov Apr 8, 2025
63fcd24
compiletest: Remove the `--logfile` flag
Zalathar Apr 8, 2025
fe079c4
Update library tracking issue template to set S-tracking-unimplemented
joshtriplett Apr 8, 2025
68692b7
Instantiate higher-ranked transmute goal
compiler-errors Apr 8, 2025
894f471
Rollup merge of #139494 - compiler-errors:restrict-queries, r=oli-obk
matthiaskrgr Apr 8, 2025
7661224
Rollup merge of #139496 - Skgland:139455-went-too-far, r=Veykril
matthiaskrgr Apr 8, 2025
df9796f
Rollup merge of #139506 - tshepang:patch-6, r=jieyouxu
matthiaskrgr Apr 8, 2025
b41e2bd
Rollup merge of #139515 - compiler-errors:sig-mismatch, r=lcnr
matthiaskrgr Apr 8, 2025
40be047
Rollup merge of #139520 - jieyouxu:compiletest-maintenance-1, r=lqd
matthiaskrgr Apr 8, 2025
87dfd12
Rollup merge of #139523 - BoxyUwU:rgd-push, r=jieyouxu
matthiaskrgr Apr 8, 2025
51bc376
Rollup merge of #139526 - smanilov:issue-139505, r=RalfJung
matthiaskrgr Apr 8, 2025
049d897
Rollup merge of #139528 - Zalathar:no-logfile, r=jieyouxu
matthiaskrgr Apr 8, 2025
8a64ba5
Rollup merge of #139541 - compiler-errors:transmute, r=lcnr
matthiaskrgr Apr 8, 2025
f2fd24d
Rollup merge of #139547 - joshtriplett:library-tracking-issue-templat…
matthiaskrgr Apr 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix deprecation note for std::intrinsics
Also checked the rest of the mentions of std::mem in the changed file
and they look good to me.
  • Loading branch information
smanilov committed Apr 8, 2025
commit 245cf8e7349df58b5e09dc7c7fa1c523d7634fab
6 changes: 3 additions & 3 deletions library/core/src/intrinsics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3724,7 +3724,7 @@ pub const fn ptr_metadata<P: ptr::Pointee<Metadata = M> + ?Sized, M>(ptr: *const
/// [`Vec::append`]: ../../std/vec/struct.Vec.html#method.append
#[doc(alias = "memcpy")]
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_allowed_through_unstable_modules = "import this function via `std::mem` instead"]
#[rustc_allowed_through_unstable_modules = "import this function via `std::ptr` instead"]
#[rustc_const_stable(feature = "const_intrinsic_copy", since = "1.83.0")]
#[inline(always)]
#[cfg_attr(miri, track_caller)] // even without panics, this helps for Miri backtraces
Expand Down Expand Up @@ -3827,7 +3827,7 @@ pub const unsafe fn copy_nonoverlapping<T>(src: *const T, dst: *mut T, count: us
/// ```
#[doc(alias = "memmove")]
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_allowed_through_unstable_modules = "import this function via `std::mem` instead"]
#[rustc_allowed_through_unstable_modules = "import this function via `std::ptr` instead"]
#[rustc_const_stable(feature = "const_intrinsic_copy", since = "1.83.0")]
#[inline(always)]
#[cfg_attr(miri, track_caller)] // even without panics, this helps for Miri backtraces
Expand Down Expand Up @@ -3907,7 +3907,7 @@ pub const unsafe fn copy<T>(src: *const T, dst: *mut T, count: usize) {
/// ```
#[doc(alias = "memset")]
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_allowed_through_unstable_modules = "import this function via `std::mem` instead"]
#[rustc_allowed_through_unstable_modules = "import this function via `std::ptr` instead"]
#[rustc_const_stable(feature = "const_ptr_write", since = "1.83.0")]
#[inline(always)]
#[cfg_attr(miri, track_caller)] // even without panics, this helps for Miri backtraces
Expand Down
Loading