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 535147d commit 091cc8dCopy full SHA for 091cc8d
crates/ide/src/goto_definition.rs
@@ -3944,6 +3944,20 @@ fn main() {
3944
_ => {}
3945
}
3946
3947
+"#,
3948
+ );
3949
+ }
3950
+
3951
+ #[test]
3952
+ fn goto_builtin_type() {
3953
+ check(
3954
+ r#"
3955
+//- /main.rs crate:main deps:std
3956
+const _: &str$0 = ""; }
3957
3958
+//- /libstd.rs crate:std
3959
+mod prim_str {}
3960
+// ^^^^^^^^
3961
"#,
3962
);
3963
0 commit comments