Add test with trait
This commit is contained in:
parent
b6a1b45c24
commit
c7027122db
@ -828,6 +828,15 @@ trait Tr<'b, T> {}
|
||||
impl<T, const C: usize> Tr<'static, u8> for Strukt<'_, T, C> {
|
||||
fn new() -> Strukt<'_, T, C> {}
|
||||
}
|
||||
"#,
|
||||
);
|
||||
|
||||
check_assist_not_applicable(
|
||||
inline_type_alias,
|
||||
r#"
|
||||
trait Tr {
|
||||
fn new() -> Self$0;
|
||||
}
|
||||
"#,
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user