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.
#[derive(BuiltinTrait)]
For example, given:
#[derive(Clone)] struct A<'a>(&'a u8);
we generate:
impl<'a> Clone for A<'a> { ... }
but we should be able to generate:
impl Clone for A<'_> { ... }
This might lead to perf improvements by generating less tokens.
cc @zackmdavis @scottmcm @eddyb @petrochenkov cc #61824