mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-02 04:48:13 +00:00
fix make HirDisplay format lifetimes first
This commit is contained in:
parent
8d08b337fa
commit
a555e95c9a
6 changed files with 32 additions and 13 deletions
|
|
@ -614,7 +614,7 @@ struct Foo<'a, T> {
|
|||
}
|
||||
|
||||
impl<'a, T> Foo<'a, T> {
|
||||
$0fn bar(self, mut b: Vec<&'a Bar<T, 'a>>) -> &'a Bar<T, 'a> {
|
||||
$0fn bar(self, mut b: Vec<&'a Bar<'a, T>>) -> &'a Bar<'a, T> {
|
||||
self.field.bar(b)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue