Trigger call info when completing generic type

Closes #11763
This commit is contained in:
Jonas Schievink 2022-03-22 16:10:17 +01:00
parent 4bb5df0ce5
commit b7cc9a7275

View File

@ -272,6 +272,7 @@ fn render_resolution_simple_(
cov_mark::hit!(inserts_angle_brackets_for_generics);
item.lookup_by(local_name.clone())
.label(SmolStr::from_iter([&local_name, "<…>"]))
.trigger_call_info()
.insert_snippet(cap, format!("{}<$0>", local_name));
}
}