mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-29 06:23:25 +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
|
// stable resort to lifetime, type, const
|
||||||
|
@ -378,8 +378,9 @@ impl<'outer, Outer, const OUTER: usize> () {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn issue_11197 () {
|
fn issue_11197() {
|
||||||
check_assist(extract_type_alias,
|
check_assist(
|
||||||
|
extract_type_alias,
|
||||||
r#"
|
r#"
|
||||||
struct Foo<T, const N: usize>
|
struct Foo<T, const N: usize>
|
||||||
where
|
where
|
||||||
|
@ -397,6 +398,7 @@ where
|
||||||
{
|
{
|
||||||
arr: Type<T, N>,
|
arr: Type<T, N>,
|
||||||
}
|
}
|
||||||
"#);
|
"#,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue