2023-04-16 11:50:15 +00:00
|
|
|
#[derive(Default)]
|
|
|
|
|
pub struct Derive;
|
|
|
|
|
|
|
|
|
|
pub struct Manual;
|
|
|
|
|
|
|
|
|
|
impl Default for Manual {
|
|
|
|
|
fn default() -> Self {
|
|
|
|
|
Self
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-30 10:08:01 +10:00
|
|
|
//@ is '$.index[?(@.inner.impl.for.resolved_path.path == "Derive" && @.inner.impl.trait.path == "Default")].attrs' '["#[automatically_derived]\n"]'
|
2023-04-16 11:50:15 +00:00
|
|
|
//@ is '$.index[?(@.inner.impl.for.resolved_path.path == "Manual" && @.inner.impl.trait.path == "Default")].attrs' '[]'
|