mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Cleanup term search related changes
This commit is contained in:
parent
88964c0b6a
commit
125791386d
26 changed files with 590 additions and 516 deletions
|
@ -114,6 +114,14 @@ impl FamousDefs<'_, '_> {
|
|||
self.find_function("core:mem:drop")
|
||||
}
|
||||
|
||||
pub fn core_macros_todo(&self) -> Option<Macro> {
|
||||
self.find_macro("core:todo")
|
||||
}
|
||||
|
||||
pub fn core_macros_unimplemented(&self) -> Option<Macro> {
|
||||
self.find_macro("core:unimplemented")
|
||||
}
|
||||
|
||||
pub fn builtin_crates(&self) -> impl Iterator<Item = Crate> {
|
||||
IntoIterator::into_iter([
|
||||
self.std(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue