We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 43f0424 + 8b73197 commit b8d1b64Copy full SHA for b8d1b64
src/macros.rs
@@ -506,6 +506,8 @@ pub use ::paste::paste;
506
/// Creates a `unsafe impl<...> PinnedDrop for $type` block.
507
///
508
/// See [`PinnedDrop`] for more information.
509
+///
510
+/// [`PinnedDrop`]: crate::PinnedDrop
511
#[doc(hidden)]
512
#[macro_export]
513
macro_rules! __pinned_drop {
tests/ui/compile-fail/init/wrong_generics2.stderr
@@ -12,7 +12,7 @@ help: you might have forgotten to add the struct literal inside the block
12
--> src/macros.rs
13
|
14
~ ::core::ptr::write($slot, $t { SomeStruct {
15
- |0 $($acc)*
+ |2 $($acc)*
16
~ } });
17
18
0 commit comments