Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
45791dd
Support linker arguments that contain commas
madsmtm Nov 24, 2024
cb6f8fa
Support rpath with -Clinker-flavor=ld
madsmtm Nov 12, 2024
6bbf832
Remove unnecessary 0 link args optimization
madsmtm Nov 24, 2024
7cf3f8b
Do not emit `missing_doc_code_examples` rustdoc lint on module and a …
GuillaumeGomez Nov 28, 2024
23d9741
move slice::swap_unchecked constness to slice_swap_unchecked feature …
RalfJung Nov 30, 2024
ede5f01
move swap_nonoverlapping constness to separate feature gate
RalfJung Nov 30, 2024
2a05e5b
add test for bytewise ptr::swap of a pointer
RalfJung Nov 30, 2024
9836196
Fix chaining `carrying_add`s
scottmcm Nov 30, 2024
b118d05
Extend documentation for `missing_doc_code_examples` rustdoc lint in …
GuillaumeGomez Nov 30, 2024
805649b
Check let source before suggesting annotation
compiler-errors Dec 1, 2024
17c6efa
Disentangle hir node match logic in adjust_fulfillment_errors
compiler-errors Nov 24, 2024
30afeb0
Adjust HostEffect error spans correctly to point at args
compiler-errors Nov 24, 2024
d5c5d58
Pull out expr handling
compiler-errors Dec 1, 2024
b87e935
Revert "Reject raw lifetime followed by \' as well"
compiler-errors Nov 26, 2024
d878fd8
Only error raw lifetime followed by \' in edition 2021+
compiler-errors Nov 26, 2024
ae6a7db
Rollup merge of #132974 - madsmtm:linker-arguments-with-commas, r=pet…
matthiaskrgr Dec 1, 2024
b574158
Rollup merge of #133403 - compiler-errors:adjust-host-effect-preds, r…
matthiaskrgr Dec 1, 2024
337c48c
Rollup merge of #133482 - compiler-errors:raw-lt-tick, r=estebank
matthiaskrgr Dec 1, 2024
2713dc2
Rollup merge of #133595 - GuillaumeGomez:missing_doc_code_examples, r…
matthiaskrgr Dec 1, 2024
3d18c3c
Rollup merge of #133669 - RalfJung:const_swap_splitup, r=dtolnay
matthiaskrgr Dec 1, 2024
2f00feb
Rollup merge of #133674 - scottmcm:chain-carrying-add, r=Amanieu
matthiaskrgr Dec 1, 2024
78dad1e
Rollup merge of #133691 - compiler-errors:let-source, r=lqd
matthiaskrgr Dec 1, 2024
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
move slice::swap_unchecked constness to slice_swap_unchecked feature …
…gate
  • Loading branch information
RalfJung committed Nov 30, 2024
commit 23d9741be3bd6471689327ee4e58cd5d1967b760
2 changes: 1 addition & 1 deletion library/core/src/slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ impl<T> [T] {
/// [`swap`]: slice::swap
/// [undefined behavior]: https://doc.rust-lang.org/reference/behavior-considered-undefined.html
#[unstable(feature = "slice_swap_unchecked", issue = "88539")]
#[rustc_const_unstable(feature = "const_swap", issue = "83163")]
#[rustc_const_unstable(feature = "slice_swap_unchecked", issue = "88539")]
pub const unsafe fn swap_unchecked(&mut self, a: usize, b: usize) {
assert_unsafe_precondition!(
check_library_ub,
Expand Down