We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e00fa2 commit 1981a3dCopy full SHA for 1981a3d
crates/ide_assists/src/handlers/inline_type_alias.rs
@@ -723,24 +723,22 @@ fn main() {
723
}
724
725
#[test]
726
- fn imported_external() {
+ fn full_path_type_is_replaced() {
727
check_assist(
728
inline_type_alias,
729
r#"
730
mod foo {
731
- type A = String;
+ pub type A = String;
732
733
fn main() {
734
- use foo::A;
735
- let a: $0A;
+ let a: foo::$0A;
736
737
"#,
738
739
740
741
742
743
744
let a: String;
745
746
0 commit comments