parent
64206b44b9
commit
0d78e40e88
11 changed files with 21 additions and 93 deletions
|
|
@ -27,7 +27,6 @@ trait A<'a> {
|
|||
|
||||
impl<'a> A<'a> for B {
|
||||
fn foo<F>(&mut self, f: F) //~ ERROR impl has stricter
|
||||
//~^ WARNING future release
|
||||
where F: fmt::Debug + 'static,
|
||||
{
|
||||
self.list.push(Box::new(f));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue