Move duplicate Pin definition into "non_cannonical_name"
@@ -466,20 +466,11 @@ fn create_type_database() -> TypeDatabase {
true,
));
- db.insert(TypeDetails::new(
- "std::pin::Pin",
- "Pin",
- Behavior::RustByValue, // because this is actually Pin<&something>
- None,
- true,
- false,
- ));
-
db.insert(TypeDetails::new(
"core::pin::Pin",
"Pin",
Behavior::RustByValue, // because this is actually Pin<&something>
- None,
+ Some("std::pin::Pin".to_string()),
true,
false,
));
