]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/generic-associated-types/bugs/issue-87803.rs
4 // This should pass, but using a type alias vs a reference directly
5 // changes late-bound -> early-bound.
7 #![feature(generic_associated_types)]
13 fn scan
<'a
>(&mut self, i
: Self::Input
<'a
>) -> Self::Token
<'a
>;
18 impl Scanner
for IdScanner
{
19 type Input
<'a
> = &'a
str;
20 type Token
<'a
> = &'a
str;
22 fn scan
<'a
>(&mut self, s
: &'a
str) -> &'a
str {