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.
Code:
trait Aaa {} impl<'a> Aaa for &'a mut Aaa + 'a {} struct Bar<'a> { writer: &'a mut Aaa + 'a, } fn baz(_: &mut Aaa) { } fn foo<'a>(mut bar: Bar<'a>) { baz(&mut bar.writer); } fn main() { }
error: internal compiler error: trying to take the sizing type of Aaa+'a, an unsized type