Expand description
Implementation of “adjustment” inlay hints:
let _: u32 = /* <never-to-any> */ loop {};
let _: &u32 = /* &* */ &mut 0;Functions§
- hints 🔒
- mode_
and_ 🔒needs_ parens_ for_ adjustment_ hints - Returns whatever the hint should be postfix and if we need to add parentheses on the inside and/or outside of
expr, if we are going to add (postfix) adjustments hints to it. - needs_
parens_ 🔒for_ adjustment_ hints - Returns whatever we need to add parentheses on the inside and/or outside of
expr, if we are going to add (postfix) adjustments hints to it.