add test for trivial bound not holding in soa-derive
This commit is contained in:
parent
2beca157c9
commit
58351ae03f
@ -29,4 +29,12 @@ impl Inherent {
|
|||||||
fn inherent(&self) {}
|
fn inherent(&self) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This trivial bound doesn't hold, but the unused lifetime tripped up that check after #117589, and
|
||||||
|
// showed up in its crater results (in `soa-derive 0.13.0`).
|
||||||
|
fn do_it()
|
||||||
|
where
|
||||||
|
for<'a> Inherent: Clone,
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
fn main() {}
|
fn main() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user