Skip to content

Rollup of 10 pull requests #137046

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 33 commits into from
Feb 15, 2025
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1383272
Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_che…
zachs18 Nov 13, 2024
ef34064
core: Apply unsafe_attr_outside_unsafe
ehuss Feb 13, 2025
cc74ed0
triagebot: automatically add more rustdoc related labels
lolbinarycat Feb 13, 2025
b7c975b
library: Update rand to 0.9.0
ehuss Feb 13, 2025
0aa634e
Migrate coretests to Rust 2024
ehuss Feb 11, 2025
890530e
alloc: Workaround hidden doctest line
ehuss Feb 13, 2025
55ef73c
alloc: Apply unsafe_attr_outside_unsafe
ehuss Feb 13, 2025
07ebbdd
alloc: Apply missing_unsafe_on_extern
ehuss Feb 13, 2025
9e60b0e
std: Apply unsafe_attr_outside_unsafe
ehuss Feb 12, 2025
c1791a1
std: Apply missing_unsafe_on_extern
ehuss Feb 12, 2025
7dc9e05
std: Apply dependency_on_unit_never_type_fallback
ehuss Feb 12, 2025
1ba59f8
std: Apply rust_2024_incompatible_pat
ehuss Feb 12, 2025
1b3940f
std: Apply fixes for tail drop expressions
ehuss Feb 12, 2025
36733f3
test: Apply deprecated_safe_2024
ehuss Feb 13, 2025
ef20a1b
std: Apply deprecated_safe_2024
ehuss Feb 13, 2025
37520e6
Fix early lint check desc in query
chenyukang Feb 14, 2025
3f9cca3
remove `fr_is_local` and `outlived_fr_is_local` fields from `ErrorCon…
dianne Feb 14, 2025
2ea9e1d
further simplify a match
dianne Feb 14, 2025
7d1262a
Add new ui test for returning an Fn trait that returns impl Trait
LFS6502 Feb 13, 2025
be2cd95
Decode metadata buffer in one go
oli-obk Feb 14, 2025
2eff215
add x86-sse2 (32bit) ABI that requires SSE2 target feature
RalfJung Jan 29, 2025
db4c09c
llvm: Tolerate captures in tests
maurer Feb 14, 2025
2ada9cc
Normalize closure instance before eagerly monomorphizing it
compiler-errors Feb 14, 2025
17ad8b5
Rollup merge of #133312 - lolbinarycat:triagebot-rustdoc-labels, r=Gu…
workingjubilee Feb 14, 2025
58e84ff
Rollup merge of #134016 - zachs18:stable-const-str-split_at, r=Amanieu
workingjubilee Feb 14, 2025
2ec48fb
Rollup merge of #136971 - HypheX:patch1, r=WaffleLapkin
workingjubilee Feb 14, 2025
922119b
Rollup merge of #136983 - ehuss:misc-2024-prep, r=tgross35
workingjubilee Feb 14, 2025
181458b
Rollup merge of #137002 - chenyukang:fix-early-lint-check-desc, r=com…
workingjubilee Feb 14, 2025
388823c
Rollup merge of #137006 - dianne:remove-errci-fields, r=compiler-errors
workingjubilee Feb 14, 2025
69dbedd
Rollup merge of #137032 - oli-obk:push-ptvssqnomkpo, r=the8472
workingjubilee Feb 14, 2025
baa5a76
Rollup merge of #137035 - compiler-errors:eagerly-mono-closures-after…
workingjubilee Feb 14, 2025
db5238a
Rollup merge of #137037 - RalfJung:x86-sse2-abi, r=workingjubilee
workingjubilee Feb 14, 2025
9d659fc
Rollup merge of #137038 - maurer:tolerate-captures, r=nikic
workingjubilee Feb 14, 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
std: Apply missing_unsafe_on_extern
  • Loading branch information
ehuss committed Feb 13, 2025
commit c1791a1b48d08ccd2346394498ecf5a993324740
4 changes: 2 additions & 2 deletions library/std/src/keyword_docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1428,7 +1428,7 @@ mod self_upper_keyword {}
///
/// ```rust,no_run
/// # #![allow(dead_code)]
/// extern "C" {
/// unsafe extern "C" {
/// static mut ERROR_MESSAGE: *mut std::os::raw::c_char;
/// }
/// ```
Expand Down Expand Up @@ -1925,7 +1925,7 @@ mod type_keyword {}
///
/// unsafe fn unsafe_fn() {}
///
/// extern "C" {
/// unsafe extern "C" {
/// fn unsafe_extern_fn();
/// static BAR: *mut u32;
/// }
Expand Down