]> git.proxmox.com Git - rustc.git/blame - src/test/ui/generic-associated-types/bugs/issue-87803.stderr
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / bugs / issue-87803.stderr
CommitLineData
5099ac24 1error[E0195]: lifetime parameters or bounds on method `scan` do not match the trait declaration
f2b60f7d 2 --> $DIR/issue-87803.rs:20:12
5099ac24
FG
3 |
4LL | fn scan<'a>(&mut self, i : Self::Input<'a>) -> Self::Token<'a>;
5 | ---- lifetimes in impl do not match this method in trait
6...
7LL | fn scan<'a>(&mut self, s : &'a str) -> &'a str {
8 | ^^^^ lifetimes do not match method in trait
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0195`.