mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Correct use
cannot have type args as per flodiebold
This commit is contained in:
parent
a19b164661
commit
2af6b4b67e
2 changed files with 2 additions and 2 deletions
|
@ -2410,7 +2410,7 @@ impl TypeArg {
|
||||||
}
|
}
|
||||||
/// Associated type argument that is passed at generic instantiation site.
|
/// Associated type argument that is passed at generic instantiation site.
|
||||||
/// ```
|
/// ```
|
||||||
/// use foo::<'a, u64, bool, ❰ Item = Bar ❱, 42>::baz;
|
/// type Foo = Bar::<'a, u64, bool, ❰ Item = Baz ❱, 42>::Bruh;
|
||||||
///
|
///
|
||||||
/// trait Bruh<T>: Iterator<❰ Item: Debug ❱> {}
|
/// trait Bruh<T>: Iterator<❰ Item: Debug ❱> {}
|
||||||
/// ```
|
/// ```
|
||||||
|
|
|
@ -1961,7 +1961,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
|
||||||
|
|
||||||
/// Associated type argument that is passed at generic instantiation site.
|
/// Associated type argument that is passed at generic instantiation site.
|
||||||
/// ```
|
/// ```
|
||||||
/// use foo::<'a, u64, bool, ❰ Item = Bar ❱, 42>::baz;
|
/// type Foo = Bar::<'a, u64, bool, ❰ Item = Baz ❱, 42>::Bruh;
|
||||||
///
|
///
|
||||||
/// trait Bruh<T>: Iterator<❰ Item: Debug ❱> {}
|
/// trait Bruh<T>: Iterator<❰ Item: Debug ❱> {}
|
||||||
/// ```
|
/// ```
|
||||||
|
|
Loading…
Reference in a new issue