forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#104655 - matthiaskrgr:rollup-r5kfffy, r=matth…
…iaskrgr Rollup of 9 pull requests Successful merges: - rust-lang#101310 (Clarify and restrict when `{Arc,Rc}::get_unchecked_mut` is allowed.) - rust-lang#104461 (Fix building of `aarch64-pc-windows-gnullvm`) - rust-lang#104487 (update ntapi dep to remove future-incompat warning) - rust-lang#104504 (Add a detailed note for missing comma typo w/ FRU syntax) - rust-lang#104581 (rustdoc: remove unused JS IIFE from main.js) - rust-lang#104632 (avoid non-strict-provenance casts in libcore tests) - rust-lang#104634 (move core::arch into separate file) - rust-lang#104641 (replace unusual grammar) - rust-lang#104643 (add examples to chunks remainder methods. ) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
- Loading branch information
Showing
26 changed files
with
310 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
hir_typeck_fru_note = this expression may have been misinterpreted as a `..` range expression | ||
hir_typeck_fru_expr = this expression does not end in a comma... | ||
hir_typeck_fru_expr2 = ... so this is interpreted as a `..` range expression, instead of functional record update syntax | ||
hir_typeck_fru_suggestion = | ||
to set the remaining fields{$expr -> | ||
[NONE]{""} | ||
*[other] {" "}from `{$expr}` | ||
}, separate the last named field with a comma |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#![doc = include_str!("../../stdarch/crates/core_arch/src/core_arch_docs.md")] | ||
|
||
#[stable(feature = "simd_arch", since = "1.27.0")] | ||
pub use crate::core_arch::arch::*; | ||
|
||
/// Inline assembly. | ||
/// | ||
/// Refer to [rust by example] for a usage guide and the [reference] for | ||
/// detailed information about the syntax and available options. | ||
/// | ||
/// [rust by example]: https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html | ||
/// [reference]: https://doc.rust-lang.org/nightly/reference/inline-assembly.html | ||
#[stable(feature = "asm", since = "1.59.0")] | ||
#[rustc_builtin_macro] | ||
pub macro asm("assembly template", $(operands,)* $(options($(option),*))?) { | ||
/* compiler built-in */ | ||
} | ||
|
||
/// Module-level inline assembly. | ||
/// | ||
/// Refer to [rust by example] for a usage guide and the [reference] for | ||
/// detailed information about the syntax and available options. | ||
/// | ||
/// [rust by example]: https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html | ||
/// [reference]: https://doc.rust-lang.org/nightly/reference/inline-assembly.html | ||
#[stable(feature = "global_asm", since = "1.59.0")] | ||
#[rustc_builtin_macro] | ||
pub macro global_asm("assembly template", $(operands,)* $(options($(option),*))?) { | ||
/* compiler built-in */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.