mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-29 14:33:29 +00:00
style: run tidy tests
This commit is contained in:
parent
9480b38189
commit
0d7ba13b72
1 changed files with 6 additions and 4 deletions
|
@ -189,7 +189,7 @@ fn collect_used_generics<'gp>(
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
_ => (),
|
||||
});
|
||||
// stable resort to lifetime, type, const
|
||||
|
@ -378,8 +378,9 @@ impl<'outer, Outer, const OUTER: usize> () {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn issue_11197 () {
|
||||
check_assist(extract_type_alias,
|
||||
fn issue_11197() {
|
||||
check_assist(
|
||||
extract_type_alias,
|
||||
r#"
|
||||
struct Foo<T, const N: usize>
|
||||
where
|
||||
|
@ -397,6 +398,7 @@ where
|
|||
{
|
||||
arr: Type<T, N>,
|
||||
}
|
||||
"#);
|
||||
"#,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue