]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-18937.stderr
New upstream version 1.35.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-18937.stderr
index 91182224ad0a6baa689d5134e2c515121b13ecd4..ac302caecc33592bf3bbfa0bc0e2578d296f3dd9 100644 (file)
@@ -6,7 +6,7 @@ LL | |         where F: fmt::Debug + 'a,
 LL | |               Self: Sized;
    | |__________________________- definition of `foo` from trait
 ...
-LL | /     fn foo<F>(&mut self, f: F) //~ ERROR impl has stricter
+LL | /     fn foo<F>(&mut self, f: F)
 LL | |         where F: fmt::Debug + 'static,
 LL | |     {
 LL | |         self.list.push(Box::new(f));