We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b46c6f2 commit b8d598fCopy full SHA for b8d598f
library/core/src/pin.rs
@@ -1146,5 +1146,5 @@ pub macro pin($value:expr $(,)?) {
1146
//
1147
// Finally, we don't hit problems _w.r.t._ the privacy of the `pointer` field, or the
1148
// unqualified `Pin` name, thanks to `decl_macro`s being _fully_ hygienic (`def_site` hygiene).
1149
- Pin { pointer: &mut { $value } }
+ Pin::<&mut _> { pointer: &mut { $value } }
1150
}
0 commit comments