mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-27 18:26:19 +00:00
Implement implicit sized bound inlay hints
This commit is contained in:
parent
1b52a6680f
commit
d4fa92e80a
10 changed files with 192 additions and 12 deletions
|
|
@ -106,6 +106,10 @@ impl FamousDefs<'_, '_> {
|
|||
self.find_trait("core:marker:Copy")
|
||||
}
|
||||
|
||||
pub fn core_marker_Sized(&self) -> Option<Trait> {
|
||||
self.find_trait("core:marker:Sized")
|
||||
}
|
||||
|
||||
pub fn core_future_Future(&self) -> Option<Trait> {
|
||||
self.find_trait("core:future:Future")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue