Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Artisan-Lab/RULF
/ functions
Functions
93,053 in github.com/Artisan-Lab/RULF
⨍
Functions
93,053
◇
Types & classes
29,618
↓ 4,878 callers
Function
new
(_needs_name: Box<PeekableSeekable<&()>>)
src/tools/clippy/tests/ui/boxed_local.rs:132
↓ 3,933 callers
Function
new
(obj_table: &[(LinkOutputKind, &[&'static str])])
compiler/rustc_target/src/spec/crt_objects.rs:51
↓ 2,444 callers
Function
new
(weak_ptr: *const libc::c_void)
library/std/src/sys/unix/weak.rs:57
↓ 2,303 callers
Function
new
()
src/test/ui/issues/issue-50761.rs:12
↓ 2,086 callers
Method
unwrap
(self)
compiler/rustc_hir/src/hir.rs:900
↓ 1,848 callers
Method
unwrap
(self)
src/tools/rust-analyzer/crates/test-utils/src/minicore.rs:465
↓ 1,526 callers
Method
into
(self)
src/tools/rust-analyzer/crates/test-utils/src/minicore.rs:136
↓ 1,465 callers
Function
default
EMIT_MIR inline_instruction_set.default.Inline.diff
src/test/mir-opt/inline/inline-instruction-set.rs:50
↓ 1,304 callers
Method
push
(&mut self, kind: SyntaxKind)
src/tools/rust-analyzer/crates/parser/src/input.rs:25
↓ 1,299 callers
Function
default
()
library/core/src/default.rs:178
↓ 1,275 callers
Method
map
Produce a new `P<T>` from `self` without reallocating.
compiler/rustc_ast/src/ptr.rs:59
↓ 1,217 callers
Function
check_assist
(assist: Handler, ra_fixture_before: &str, ra_fixture_after: &str)
src/tools/rust-analyzer/crates/ide-assists/src/tests.rs:40
↓ 1,189 callers
Method
iter
(&self)
compiler/rustc_hir/src/def.rs:525
↓ 1,172 callers
Method
into
(&self)
compiler/rustc_transmute/src/layout/tree.rs:248
↓ 1,172 callers
Method
syntax
(&self)
src/tools/rust-analyzer/crates/ide-assists/src/handlers/extract_variable.rs:236
↓ 1,160 callers
Method
hir
(self)
compiler/rustc_middle/src/hir/mod.rs:95
↓ 1,116 callers
Function
new
()
src/test/incremental/lto.rs:20
↓ 1,107 callers
Method
unwrap
(self)
library/core/src/option.rs:775
↓ 1,104 callers
Method
unwrap
(&mut self)
src/test/ui/regions/issue-2718.rs:175
↓ 1,061 callers
Method
unwrap_or
(self, default: T)
library/core/src/option.rs:799
↓ 1,007 callers
Method
push
(&mut self, d: T)
compiler/rustc_index/src/vec.rs:122
↓ 992 callers
Method
kind
(self)
compiler/rustc_middle/src/ty/mod.rs:554
↓ 935 callers
Method
map
(self, f: impl FnOnce(T) -> U)
src/tools/rust-analyzer/crates/mbe/src/lib.rs:335
↓ 917 callers
Method
iter
(self)
src/tools/clippy/tests/ui/iter_nth.rs:16
↓ 877 callers
Method
collect
(&mut self, fragment_kind: AstFragmentKind, kind: InvocationKind)
compiler/rustc_expand/src/expand.rs:1551
↓ 862 callers
Method
is_some
(&self)
src/tools/clippy/tests/ui/nonminimal_bool_methods.rs:57
↓ 854 callers
Function
from
(x: i32)
library/core/tests/convert.rs:3
↓ 842 callers
Method
map_or
(self, default: U, f: F)
library/core/src/option.rs:981
↓ 826 callers
Method
span_label
(&mut self, span: Span, label: impl Into<SubdiagnosticMessage>)
compiler/rustc_errors/src/diagnostic.rs:290
↓ 823 callers
Method
as_inner
(&self)
library/std/src/os/linux/process.rs:55
↓ 822 callers
Method
unwrap
(self)
src/tools/clippy/tests/ui/eta.rs:121
↓ 809 callers
Method
arg
(&mut self, arg: &str)
src/bootstrap/builder.rs:2246
↓ 777 callers
Method
map
(&self, f: F)
src/tools/rustfmt/src/overflow.rs:105
↓ 772 callers
Method
push_str
(&mut self, s: &str)
src/tools/rustfmt/src/visitor.rs:711
↓ 770 callers
Method
and_then
(self, f: impl FnOnce(SbTag) -> Option<T>)
src/tools/miri/src/machine.rs:242
↓ 753 callers
Method
join
( self, other: Relation<C2>, )
src/test/ui/associated-types/issue-82079.rs:58
↓ 748 callers
Method
map
(&self)
src/tools/clippy/tests/ui/map_unit_fn.rs:5
↓ 725 callers
Method
enumerate
( count: &'a mut usize, mut fold: impl FnMut(Acc, (usize, T)) -> R + 'a, )
library/core/src/iter/adapters/enumerate.rs:79
↓ 719 callers
Method
clone
(&self)
src/tools/rust-analyzer/crates/hir-def/src/lib.rs:140
↓ 679 callers
Method
is_some
(&self)
library/core/src/option.rs:553
↓ 624 callers
Method
text_range
(&self)
src/tools/rust-analyzer/crates/ide-assists/src/handlers/extract_function.rs:670
↓ 621 callers
Method
map
(orig: Ref<'b, T>, f: F)
library/core/src/cell.rs:1386
↓ 610 callers
Function
drop
()
src/test/ui/use/use-mod/use-mod-6.rs:3
↓ 596 callers
Method
expect
Consume the next token if it is `kind` or emit an error otherwise.
src/tools/rust-analyzer/crates/parser/src/parser.rs:204
↓ 596 callers
Method
len
(&self)
compiler/rustc_llvm/src/lib.rs:17
↓ 593 callers
Method
iter
(&self)
src/test/ui/nll/issue-53773.rs:20
↓ 548 callers
Method
as_ref
(&self)
compiler/rustc_middle/src/ty/sty.rs:1020
↓ 544 callers
Method
clone
(&self)
src/tools/clippy/tests/ui/should_impl_trait/method_list_1.rs:57
↓ 527 callers
Method
clone
(&self)
src/tools/rust-analyzer/crates/ide-db/src/symbol_index.rs:143
↓ 527 callers
Method
collect
Gather all the information we need.
src/tools/miri/cargo-miri/src/util.rs:40
↓ 526 callers
Method
filter_map
(self, f: F)
src/tools/rust-analyzer/crates/test-utils/src/minicore.rs:633
↓ 506 callers
Method
note
(&mut self, msg: impl Into<SubdiagnosticMessage>)
compiler/rustc_errors/src/diagnostic.rs:408
↓ 504 callers
Method
emit
( self, out: &mut dyn fmt::Write, _arch: InlineAsmArch, modifier: Option<char>
compiler/rustc_target/src/asm/arm.rs:240
↓ 498 callers
Method
unwrap_or_else
(self, f: F)
library/core/src/option.rs:821
↓ 493 callers
Method
into
(self)
src/tools/clippy/tests/ui/use_self.rs:441
↓ 481 callers
Method
skip_binder
Skips the binder and returns the "bound" value. This is a risky thing to do because it's easy to get confused about De Bruijn indices and the like. It
compiler/rustc_middle/src/ty/sty.rs:1012
↓ 479 callers
Method
arg
(&self, db: &dyn db::AstDatabase)
src/tools/rust-analyzer/crates/hir-expand/src/lib.rs:504
↓ 479 callers
Method
len
(&self)
src/tools/clippy/tests/ui/len_without_is_empty.rs:7
↓ 478 callers
Function
from
(t: (u32, u32, u32, u32, u32))
src/tools/rust-analyzer/crates/rust-analyzer/src/semantic_tokens.rs:230
↓ 463 callers
Method
emit_err
(&'a self, err: impl IntoDiagnostic<'a>)
compiler/rustc_errors/src/lib.rs:1049
↓ 459 callers
Method
any
(&self)
src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs:565
↓ 459 callers
Method
is_empty
Returns `true` if all the items in this collection are `None`.
compiler/rustc_hir/src/def.rs:554
↓ 457 callers
Method
typeck_results
(&self)
compiler/rustc_lint/src/context.rs:1071
↓ 454 callers
Method
get
(&self, id: ItemLocalId)
compiler/rustc_hir/src/hir.rs:801
↓ 452 callers
Method
filter
Processes `cfg_attr`s, returning the resulting semantic `Attrs`.
src/tools/rust-analyzer/crates/hir-def/src/attr.rs:150
↓ 428 callers
Method
to_string
(&self)
src/tools/rust-analyzer/crates/ide/src/moniker.rs:41
↓ 415 callers
Method
push_str
(&mut self, s: &str)
compiler/rustc_data_structures/src/small_str.rs:17
↓ 413 callers
Method
to_string
(&self, config: &Config)
src/tools/rustfmt/src/shape.rs:68
↓ 408 callers
Method
len
(self)
src/tools/rustfmt/src/lists.rs:212
↓ 405 callers
Method
push
Push a level `level` heading into the appropriate place in the hierarchy, returning a string containing the section number in `<num>.<num>.<num>` form
src/librustdoc/html/toc.rs:118
↓ 404 callers
Method
clone
(&self)
compiler/rustc_ast/src/ptr.rs:94
↓ 403 callers
Function
from
()
src/tools/miri/tests/pass/arrays.rs:38
↓ 397 callers
Method
insert
(&mut self, index: I, value: T)
compiler/rustc_index/src/vec.rs:295
↓ 395 callers
Method
clone
(&self)
src/test/ui/resolve/issue-2356.rs:23
↓ 391 callers
Method
to_def_id
(self)
compiler/rustc_hir/src/hir_id.rs:20
↓ 377 callers
Method
is_none
(&self)
library/core/src/option.rs:599
↓ 376 callers
Method
map
Maps a [`TextRange`] relative to the documentation string back to its AST range
src/tools/rust-analyzer/crates/hir-def/src/attr.rs:731
↓ 372 callers
Method
starts_with
(&self, base: &AbsPath)
src/tools/rust-analyzer/crates/paths/src/lib.rs:175
↓ 372 callers
Method
unwrap_or_else
(self, f: F)
src/test/ui/consts/unstable-const-fn-in-libcore.rs:17
↓ 368 callers
Method
hir
Convenience function around `hir_opt` for suggestions with a default text.
src/tools/clippy/clippy_utils/src/sugg.rs:64
↓ 364 callers
Method
span_suggestion
Prints out a message with a suggested edit of the code. In case of short messages and a simple suggestion, rustc displays it as a label: ```text try
compiler/rustc_errors/src/diagnostic.rs:626
↓ 358 callers
Method
borrow_mut
(&self)
compiler/rustc_data_structures/src/sync.rs:438
↓ 358 callers
Method
flat_map
(self, f: F)
library/core/src/iter/traits/iterator.rs:1460
↓ 352 callers
Method
extend
(&mut self, passes: impl IntoIterator<Item = String>)
compiler/rustc_session/src/config.rs:853
↓ 351 callers
Method
bytes
(self)
compiler/rustc_target/src/abi/mod.rs:322
↓ 351 callers
Method
is_empty
(&self)
src/tools/rustfmt/src/stmt.rs:55
↓ 350 callers
Function
fmt
()
src/tools/clippy/tests/check-fmt.rs:8
↓ 348 callers
Method
kind
(&self)
compiler/rustc_hir_analysis/src/structured_errors/wrong_number_of_generic_args.rs:128
↓ 348 callers
Method
layout_of
(&self, ty: Ty<'tcx>)
compiler/rustc_middle/src/ty/layout.rs:520
↓ 339 callers
Method
rev
(self)
library/core/src/iter/traits/iterator.rs:3152
↓ 337 callers
Method
find_map
(&mut self, f: F)
library/core/src/iter/traits/iterator.rs:2716
↓ 337 callers
Method
kind
(self, db: &dyn HirDatabase)
src/tools/rust-analyzer/crates/hir/src/lib.rs:907
↓ 335 callers
Function
check_assist_not_applicable
(assist: Handler, ra_fixture: &str)
src/tools/rust-analyzer/crates/ide-assists/src/tests.rs:66
↓ 334 callers
Method
insert
(&mut self, new_idx: usize, new: Item)
src/tools/miri/src/stacked_borrows/stack.rs:285
↓ 333 callers
Method
find
(self)
src/tools/clippy/tests/ui/auxiliary/option_helpers.rs:28
↓ 330 callers
Method
into_iter
(self)
compiler/rustc_hir/src/def.rs:521
↓ 329 callers
Method
push
(&self)
src/test/ui/span/issue-26656.rs:28
↓ 328 callers
Function
f
()
src/test/ui/super.rs:7
↓ 327 callers
Method
map
(self, mut f: F)
compiler/rustc_hir/src/def.rs:517
↓ 326 callers
Function
drop
(_x: T)
library/core/src/mem/mod.rs:987
next →
1–100 of 93,053, ranked by callers