Skip to content

Commit b8d1b64

Browse files
authored
Merge pull request #88 from Rust-for-Linux/dev/fix-ci
- fix broken rust doc link
2 parents 43f0424 + 8b73197 commit b8d1b64

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/macros.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,8 @@ pub use ::paste::paste;
506506
/// Creates a `unsafe impl<...> PinnedDrop for $type` block.
507507
///
508508
/// See [`PinnedDrop`] for more information.
509+
///
510+
/// [`PinnedDrop`]: crate::PinnedDrop
509511
#[doc(hidden)]
510512
#[macro_export]
511513
macro_rules! __pinned_drop {

tests/ui/compile-fail/init/wrong_generics2.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ help: you might have forgotten to add the struct literal inside the block
1212
--> src/macros.rs
1313
|
1414
~ ::core::ptr::write($slot, $t { SomeStruct {
15-
|0 $($acc)*
15+
|2 $($acc)*
1616
~ } });
1717
|
1818

0 commit comments

Comments
 (0)