MCPcopy Create free account

hub / github.com/Artisan-Lab/RULF / functions

Functions93,053 in github.com/Artisan-Lab/RULF

↓ 4,878 callersFunctionnew
(_needs_name: Box<PeekableSeekable<&()>>)
src/tools/clippy/tests/ui/boxed_local.rs:132
↓ 3,933 callersFunctionnew
(obj_table: &[(LinkOutputKind, &[&'static str])])
compiler/rustc_target/src/spec/crt_objects.rs:51
↓ 2,444 callersFunctionnew
(weak_ptr: *const libc::c_void)
library/std/src/sys/unix/weak.rs:57
↓ 2,303 callersFunctionnew
()
src/test/ui/issues/issue-50761.rs:12
↓ 2,086 callersMethodunwrap
(self)
compiler/rustc_hir/src/hir.rs:900
↓ 1,848 callersMethodunwrap
(self)
src/tools/rust-analyzer/crates/test-utils/src/minicore.rs:465
↓ 1,526 callersMethodinto
(self)
src/tools/rust-analyzer/crates/test-utils/src/minicore.rs:136
↓ 1,465 callersFunctiondefault
EMIT_MIR inline_instruction_set.default.Inline.diff
src/test/mir-opt/inline/inline-instruction-set.rs:50
↓ 1,304 callersMethodpush
(&mut self, kind: SyntaxKind)
src/tools/rust-analyzer/crates/parser/src/input.rs:25
↓ 1,299 callersFunctiondefault
()
library/core/src/default.rs:178
↓ 1,275 callersMethodmap
Produce a new `P<T>` from `self` without reallocating.
compiler/rustc_ast/src/ptr.rs:59
↓ 1,217 callersFunctioncheck_assist
(assist: Handler, ra_fixture_before: &str, ra_fixture_after: &str)
src/tools/rust-analyzer/crates/ide-assists/src/tests.rs:40
↓ 1,189 callersMethoditer
(&self)
compiler/rustc_hir/src/def.rs:525
↓ 1,172 callersMethodinto
(&self)
compiler/rustc_transmute/src/layout/tree.rs:248
↓ 1,172 callersMethodsyntax
(&self)
src/tools/rust-analyzer/crates/ide-assists/src/handlers/extract_variable.rs:236
↓ 1,160 callersMethodhir
(self)
compiler/rustc_middle/src/hir/mod.rs:95
↓ 1,116 callersFunctionnew
()
src/test/incremental/lto.rs:20
↓ 1,107 callersMethodunwrap
(self)
library/core/src/option.rs:775
↓ 1,104 callersMethodunwrap
(&mut self)
src/test/ui/regions/issue-2718.rs:175
↓ 1,061 callersMethodunwrap_or
(self, default: T)
library/core/src/option.rs:799
↓ 1,007 callersMethodpush
(&mut self, d: T)
compiler/rustc_index/src/vec.rs:122
↓ 992 callersMethodkind
(self)
compiler/rustc_middle/src/ty/mod.rs:554
↓ 935 callersMethodmap
(self, f: impl FnOnce(T) -> U)
src/tools/rust-analyzer/crates/mbe/src/lib.rs:335
↓ 917 callersMethoditer
(self)
src/tools/clippy/tests/ui/iter_nth.rs:16
↓ 877 callersMethodcollect
(&mut self, fragment_kind: AstFragmentKind, kind: InvocationKind)
compiler/rustc_expand/src/expand.rs:1551
↓ 862 callersMethodis_some
(&self)
src/tools/clippy/tests/ui/nonminimal_bool_methods.rs:57
↓ 854 callersFunctionfrom
(x: i32)
library/core/tests/convert.rs:3
↓ 842 callersMethodmap_or
(self, default: U, f: F)
library/core/src/option.rs:981
↓ 826 callersMethodspan_label
(&mut self, span: Span, label: impl Into<SubdiagnosticMessage>)
compiler/rustc_errors/src/diagnostic.rs:290
↓ 823 callersMethodas_inner
(&self)
library/std/src/os/linux/process.rs:55
↓ 822 callersMethodunwrap
(self)
src/tools/clippy/tests/ui/eta.rs:121
↓ 809 callersMethodarg
(&mut self, arg: &str)
src/bootstrap/builder.rs:2246
↓ 777 callersMethodmap
(&self, f: F)
src/tools/rustfmt/src/overflow.rs:105
↓ 772 callersMethodpush_str
(&mut self, s: &str)
src/tools/rustfmt/src/visitor.rs:711
↓ 770 callersMethodand_then
(self, f: impl FnOnce(SbTag) -> Option<T>)
src/tools/miri/src/machine.rs:242
↓ 753 callersMethodjoin
( self, other: Relation<C2>, )
src/test/ui/associated-types/issue-82079.rs:58
↓ 748 callersMethodmap
(&self)
src/tools/clippy/tests/ui/map_unit_fn.rs:5
↓ 725 callersMethodenumerate
( count: &'a mut usize, mut fold: impl FnMut(Acc, (usize, T)) -> R + 'a, )
library/core/src/iter/adapters/enumerate.rs:79
↓ 719 callersMethodclone
(&self)
src/tools/rust-analyzer/crates/hir-def/src/lib.rs:140
↓ 679 callersMethodis_some
(&self)
library/core/src/option.rs:553
↓ 624 callersMethodtext_range
(&self)
src/tools/rust-analyzer/crates/ide-assists/src/handlers/extract_function.rs:670
↓ 621 callersMethodmap
(orig: Ref<'b, T>, f: F)
library/core/src/cell.rs:1386
↓ 610 callersFunctiondrop
()
src/test/ui/use/use-mod/use-mod-6.rs:3
↓ 596 callersMethodexpect
Consume the next token if it is `kind` or emit an error otherwise.
src/tools/rust-analyzer/crates/parser/src/parser.rs:204
↓ 596 callersMethodlen
(&self)
compiler/rustc_llvm/src/lib.rs:17
↓ 593 callersMethoditer
(&self)
src/test/ui/nll/issue-53773.rs:20
↓ 548 callersMethodas_ref
(&self)
compiler/rustc_middle/src/ty/sty.rs:1020
↓ 544 callersMethodclone
(&self)
src/tools/clippy/tests/ui/should_impl_trait/method_list_1.rs:57
↓ 527 callersMethodclone
(&self)
src/tools/rust-analyzer/crates/ide-db/src/symbol_index.rs:143
↓ 527 callersMethodcollect
Gather all the information we need.
src/tools/miri/cargo-miri/src/util.rs:40
↓ 526 callersMethodfilter_map
(self, f: F)
src/tools/rust-analyzer/crates/test-utils/src/minicore.rs:633
↓ 506 callersMethodnote
(&mut self, msg: impl Into<SubdiagnosticMessage>)
compiler/rustc_errors/src/diagnostic.rs:408
↓ 504 callersMethodemit
( self, out: &mut dyn fmt::Write, _arch: InlineAsmArch, modifier: Option<char>
compiler/rustc_target/src/asm/arm.rs:240
↓ 498 callersMethodunwrap_or_else
(self, f: F)
library/core/src/option.rs:821
↓ 493 callersMethodinto
(self)
src/tools/clippy/tests/ui/use_self.rs:441
↓ 481 callersMethodskip_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 callersMethodarg
(&self, db: &dyn db::AstDatabase)
src/tools/rust-analyzer/crates/hir-expand/src/lib.rs:504
↓ 479 callersMethodlen
(&self)
src/tools/clippy/tests/ui/len_without_is_empty.rs:7
↓ 478 callersFunctionfrom
(t: (u32, u32, u32, u32, u32))
src/tools/rust-analyzer/crates/rust-analyzer/src/semantic_tokens.rs:230
↓ 463 callersMethodemit_err
(&'a self, err: impl IntoDiagnostic<'a>)
compiler/rustc_errors/src/lib.rs:1049
↓ 459 callersMethodany
(&self)
src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs:565
↓ 459 callersMethodis_empty
Returns `true` if all the items in this collection are `None`.
compiler/rustc_hir/src/def.rs:554
↓ 457 callersMethodtypeck_results
(&self)
compiler/rustc_lint/src/context.rs:1071
↓ 454 callersMethodget
(&self, id: ItemLocalId)
compiler/rustc_hir/src/hir.rs:801
↓ 452 callersMethodfilter
Processes `cfg_attr`s, returning the resulting semantic `Attrs`.
src/tools/rust-analyzer/crates/hir-def/src/attr.rs:150
↓ 428 callersMethodto_string
(&self)
src/tools/rust-analyzer/crates/ide/src/moniker.rs:41
↓ 415 callersMethodpush_str
(&mut self, s: &str)
compiler/rustc_data_structures/src/small_str.rs:17
↓ 413 callersMethodto_string
(&self, config: &Config)
src/tools/rustfmt/src/shape.rs:68
↓ 408 callersMethodlen
(self)
src/tools/rustfmt/src/lists.rs:212
↓ 405 callersMethodpush
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 callersMethodclone
(&self)
compiler/rustc_ast/src/ptr.rs:94
↓ 403 callersFunctionfrom
()
src/tools/miri/tests/pass/arrays.rs:38
↓ 397 callersMethodinsert
(&mut self, index: I, value: T)
compiler/rustc_index/src/vec.rs:295
↓ 395 callersMethodclone
(&self)
src/test/ui/resolve/issue-2356.rs:23
↓ 391 callersMethodto_def_id
(self)
compiler/rustc_hir/src/hir_id.rs:20
↓ 377 callersMethodis_none
(&self)
library/core/src/option.rs:599
↓ 376 callersMethodmap
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 callersMethodstarts_with
(&self, base: &AbsPath)
src/tools/rust-analyzer/crates/paths/src/lib.rs:175
↓ 372 callersMethodunwrap_or_else
(self, f: F)
src/test/ui/consts/unstable-const-fn-in-libcore.rs:17
↓ 368 callersMethodhir
Convenience function around `hir_opt` for suggestions with a default text.
src/tools/clippy/clippy_utils/src/sugg.rs:64
↓ 364 callersMethodspan_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 callersMethodborrow_mut
(&self)
compiler/rustc_data_structures/src/sync.rs:438
↓ 358 callersMethodflat_map
(self, f: F)
library/core/src/iter/traits/iterator.rs:1460
↓ 352 callersMethodextend
(&mut self, passes: impl IntoIterator<Item = String>)
compiler/rustc_session/src/config.rs:853
↓ 351 callersMethodbytes
(self)
compiler/rustc_target/src/abi/mod.rs:322
↓ 351 callersMethodis_empty
(&self)
src/tools/rustfmt/src/stmt.rs:55
↓ 350 callersFunctionfmt
()
src/tools/clippy/tests/check-fmt.rs:8
↓ 348 callersMethodkind
(&self)
compiler/rustc_hir_analysis/src/structured_errors/wrong_number_of_generic_args.rs:128
↓ 348 callersMethodlayout_of
(&self, ty: Ty<'tcx>)
compiler/rustc_middle/src/ty/layout.rs:520
↓ 339 callersMethodrev
(self)
library/core/src/iter/traits/iterator.rs:3152
↓ 337 callersMethodfind_map
(&mut self, f: F)
library/core/src/iter/traits/iterator.rs:2716
↓ 337 callersMethodkind
(self, db: &dyn HirDatabase)
src/tools/rust-analyzer/crates/hir/src/lib.rs:907
↓ 335 callersFunctioncheck_assist_not_applicable
(assist: Handler, ra_fixture: &str)
src/tools/rust-analyzer/crates/ide-assists/src/tests.rs:66
↓ 334 callersMethodinsert
(&mut self, new_idx: usize, new: Item)
src/tools/miri/src/stacked_borrows/stack.rs:285
↓ 333 callersMethodfind
(self)
src/tools/clippy/tests/ui/auxiliary/option_helpers.rs:28
↓ 330 callersMethodinto_iter
(self)
compiler/rustc_hir/src/def.rs:521
↓ 329 callersMethodpush
(&self)
src/test/ui/span/issue-26656.rs:28
↓ 328 callersFunctionf
()
src/test/ui/super.rs:7
↓ 327 callersMethodmap
(self, mut f: F)
compiler/rustc_hir/src/def.rs:517
↓ 326 callersFunctiondrop
(_x: T)
library/core/src/mem/mod.rs:987
next →1–100 of 93,053, ranked by callers