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.
pub fn foo<'a>() where 'a: , { }
becomes
pub fn foo<'a>() where 'a, { }
resulting in syntax error.
This kind of code can actually be usefult to turn 'a into an early bound lifetime.
'a
Tested in the rustfmt shipped with nightly rust (rustfmt 1.4.30-nightly (acd9486 2020-12-20)).
rustfmt
rustfmt 1.4.30-nightly (acd9486 2020-12-20)