fn fixture(#[rust_analyzer::rust_fixture] ra_fixture: &str) {}
fn main() {
fixture(r#"
@@- /main.rs crate:main deps:other_crate
fn test() {
let x = other_crate::foo::S::thing();
x;
} //^ i128
@@- /lib.rs crate:other_crate
pub mod foo {
pub struct S;
impl S {
pub fn thing() -> i128 { 0 }
}
}
"#);
}