Auto merge of #120121 - matthiaskrgr:rollup-razammh, r=matthiaskrgr
Rollup of 10 pull requests Successful merges: - #118665 (Consolidate all associated items on the NonZero integer types into a single impl block per type) - #118798 (Use AtomicU8 instead of AtomicUsize in backtrace.rs) - #119062 (Deny braced macro invocations in let-else) - #119138 (Docs: Use non-SeqCst in module example of atomics) - #119907 (Update `fn()` trait implementation docs) - #120083 (Warn when not having a profiler runtime means that coverage tests won't be run/blessed) - #120107 (dead_code treats #[repr(transparent)] the same as #[repr(C)]) - #120110 (Update documentation for Vec::into_boxed_slice to be more clear about excess capacity) - #120113 (Remove myself from review rotation) - #120118 (Fix typo in documentation in base.rs) r? `@ghost` `@rustbot` modify labels: rollup
This commit is contained in:
commit
32ec40c685
23 changed files with 1397 additions and 1347 deletions
|
@ -666,8 +666,8 @@ pub enum SyntaxExtensionKind {
|
|||
/// A token-based attribute macro.
|
||||
Attr(
|
||||
/// An expander with signature (TokenStream, TokenStream) -> TokenStream.
|
||||
/// The first TokenSteam is the attribute itself, the second is the annotated item.
|
||||
/// The produced TokenSteam replaces the input TokenSteam.
|
||||
/// The first TokenStream is the attribute itself, the second is the annotated item.
|
||||
/// The produced TokenStream replaces the input TokenStream.
|
||||
Box<dyn AttrProcMacro + sync::DynSync + sync::DynSend>,
|
||||
),
|
||||
|
||||
|
@ -687,7 +687,7 @@ pub enum SyntaxExtensionKind {
|
|||
/// A token-based derive macro.
|
||||
Derive(
|
||||
/// An expander with signature TokenStream -> TokenStream.
|
||||
/// The produced TokenSteam is appended to the input TokenSteam.
|
||||
/// The produced TokenStream is appended to the input TokenStream.
|
||||
///
|
||||
/// FIXME: The text above describes how this should work. Currently it
|
||||
/// is handled identically to `LegacyDerive`. It should be migrated to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue