Remove QPath::LangItem from ranges
This commit is contained in:
parent
9c98533491
commit
7cbff63411
33 changed files with 158 additions and 218 deletions
|
|
@ -29,11 +29,9 @@ impl Foo<'_> {
|
|||
fn d<'a>(&self, x: &'a u32) { }
|
||||
|
||||
// FIXME: impl Traits printed as just `/*impl Trait*/`, ugh
|
||||
fn iter1<'a>(&self)
|
||||
-> /*impl Trait*/ { #[lang = "Range"] { start: 0, end: 1 } }
|
||||
fn iter1<'a>(&self) -> /*impl Trait*/ { Range { start: 0, end: 1 } }
|
||||
|
||||
fn iter2(&self)
|
||||
-> /*impl Trait*/ { #[lang = "Range"] { start: 0, end: 1 } }
|
||||
fn iter2(&self) -> /*impl Trait*/ { Range { start: 0, end: 1 } }
|
||||
}
|
||||
|
||||
fn a(x: Foo<'_>) { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue