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
↓ 115 callers
Method
field
(self, cx: &C, i: usize)
compiler/rustc_target/src/abi/mod.rs:1426
↓ 115 callers
Function
from_raw_parts
(data: *const T, len: usize)
library/core/src/slice/raw.rs:92
↓ 115 callers
Method
get
(&self, pos: usize)
src/tools/clippy/tests/ui/get_first.rs:12
↓ 115 callers
Method
push
(&mut self, ch: char)
library/alloc/src/string.rs:1223
↓ 115 callers
Method
push
Push a new token onto the builder
src/tools/rust-analyzer/crates/rust-analyzer/src/semantic_tokens.rs:163
↓ 115 callers
Method
send
(&self, t: T)
library/std/src/sync/mpsc/mod.rs:804
↓ 115 callers
Method
to_string
(&self)
compiler/rustc_span/src/symbol.rs:1906
↓ 114 callers
Method
add
( &mut self, id: AssistId, label: impl Into<String>, target: TextRange,
src/tools/rust-analyzer/crates/ide-assists/src/assist_context.rs:153
↓ 114 callers
Method
entry
Gets the given key's corresponding entry in the map for in-place manipulation.
src/tools/rust-analyzer/lib/la-arena/src/map.rs:90
↓ 114 callers
Method
to_string
(&self)
compiler/rustc_hir/src/errors.rs:7
↓ 113 callers
Function
black_box
(dummy: T)
library/core/src/hint.rs:225
↓ 113 callers
Function
check
( cx: &LateContext<'tcx>, expr: &hir::Expr<'_>, iter_recv: &'tcx hir::Expr<'tcx>, nth_recv: &h
src/tools/clippy/clippy_lints/src/methods/iter_nth.rs:11
↓ 113 callers
Method
clone
(&self)
src/tools/rust-analyzer/lib/la-arena/src/lib.rs:51
↓ 113 callers
Method
eat
Consumes a token 'tok' if it exists. Returns whether the given token was present.
compiler/rustc_parse/src/parser/mod.rs:623
↓ 113 callers
Function
f
(p: &Cell<Point>)
library/core/tests/cell.rs:350
↓ 113 callers
Function
null
()
src/test/ui/typeck/unify-return-ty.rs:10
↓ 112 callers
Function
drop
(_x: T)
src/tools/rust-analyzer/crates/test-utils/src/minicore.rs:263
↓ 112 callers
Method
is_ok
(&self)
library/core/src/result.rs:542
↓ 112 callers
Method
len
(&self)
library/alloc/src/string.rs:1636
↓ 112 callers
Method
path
(&self)
src/tools/rust-analyzer/crates/hir-def/src/attr.rs:846
↓ 112 callers
Method
replace
(old: impl AstNode, new: impl AstNode)
src/tools/rust-analyzer/crates/ide-assists/src/handlers/merge_imports.rs:134
↓ 111 callers
Function
check_diagnostics
(ra_fixture: &str)
src/tools/rust-analyzer/crates/ide-diagnostics/src/tests.rs:93
↓ 111 callers
Function
check_doc_test
(assist_id: &str, before: &str, after: &str)
src/tools/rust-analyzer/crates/ide-assists/src/tests.rs:77
↓ 111 callers
Method
take
(&mut self)
compiler/rustc_ast/src/ast.rs:1247
↓ 110 callers
Method
as_u32
(self)
compiler/rustc_span/src/symbol.rs:1875
↓ 110 callers
Method
get_type
(&self, ex: &'tcx Expr<'_>)
src/tools/clippy/clippy_lints/src/matches/significant_drop_in_scrutinee.rs:119
↓ 110 callers
Function
print
(left: &str, value: T, right: &str)
src/test/run-make/coverage-llvmir/testprog.rs:12
↓ 110 callers
Method
unpack
(self)
compiler/rustc_middle/src/ty/mod.rs:998
↓ 109 callers
Method
alloc_from_iter
(self, arena: &TypedArena<T>)
compiler/rustc_arena/src/lib.rs:148
↓ 109 callers
Method
collect
()
src/tools/rust-analyzer/crates/ide-assists/src/tests/sourcegen.rs:78
↓ 109 callers
Method
compare_exchange
even without panics, this helps for Miri backtraces
library/core/src/sync/atomic.rs:618
↓ 109 callers
Method
multipart_suggestion
Show a suggestion that has multiple parts to it. In other words, multiple changes need to be applied as part of this suggestion.
compiler/rustc_errors/src/diagnostic.rs:532
↓ 109 callers
Method
push
(mut self, arg: impl CastTo<GenericArg>)
src/tools/rust-analyzer/crates/hir-ty/src/builder.rs:77
↓ 109 callers
Method
ty_error
(self)
compiler/rustc_middle/src/ty/context.rs:1297
↓ 108 callers
Method
extend
Extends this crate graph by adding a complete disjoint second crate graph. The ids of the crates in the `other` graph are shifted by the return amoun
src/tools/rust-analyzer/crates/base-db/src/input.rs:464
↓ 108 callers
Method
len
(&self)
compiler/rustc_session/src/config.rs:427
↓ 108 callers
Function
replace
(buf: &mut String, from: char, to: &str)
src/tools/rust-analyzer/crates/stdx/src/lib.rs:87
↓ 107 callers
Method
add
(mut self, other: &str)
library/alloc/src/string.rs:2338
↓ 107 callers
Method
iter
(&self)
src/tools/rust-analyzer/crates/rust-analyzer/src/mem_docs.rs:44
↓ 107 callers
Method
lock
(&self)
compiler/rustc_data_structures/src/sync.rs:413
↓ 107 callers
Function
parse
(text: &str)
src/tools/rust-analyzer/crates/syntax/test_data/parser/fuzz-failures/0000.rs:6
↓ 106 callers
Method
get_parent_node
(self, hir_id: HirId)
compiler/rustc_middle/src/hir/map/mod.rs:313
↓ 106 callers
Method
syntax
(&self, sema: &Semantics<'_, DB>)
src/tools/rust-analyzer/crates/hir/src/symbols.rs:35
↓ 105 callers
Function
hash
(x: &T)
compiler/rustc_data_structures/src/sip128/tests.rs:22
↓ 105 callers
Method
is_null
(self)
library/core/src/ptr/mut_ptr.rs:35
↓ 105 callers
Method
map
(self)
src/test/ui/mismatched_types/issue-47706.rs:10
↓ 105 callers
Method
next
(&mut self)
src/tools/rust-analyzer/crates/ide-ssr/src/matching.rs:764
↓ 105 callers
Method
try_into
note: &self
src/test/ui/rust-2021/inherent-dyn-collision.rs:16
↓ 104 callers
Method
is_diagnostic_item
Check whether the diagnostic item with the given `name` has the given `DefId`.
compiler/rustc_middle/src/ty/context.rs:1356
↓ 104 callers
Method
span
(&self)
compiler/rustc_hir_typeck/src/mem_categorization.rs:78
↓ 103 callers
Function
macro
()
src/test/ui/parser/macro-keyword.rs:1
↓ 103 callers
Method
write_cvalue
(self, fx: &mut FunctionCx<'_, '_, 'tcx>, from: CValue<'tcx>)
compiler/rustc_codegen_cranelift/src/value_and_place.rs:476
↓ 102 callers
Method
alloc
(&self)
src/test/ui/drop/dynamic-drop.rs:43
↓ 102 callers
Function
check
(ra_fixture: &str)
src/tools/rust-analyzer/crates/ide/src/goto_definition.rs:168
↓ 102 callers
Method
drain
(&mut self, range: R)
library/alloc/src/string.rs:1753
↓ 102 callers
Method
end
(&mut self)
compiler/rustc_ast_pretty/src/pp/convenience.rs:32
↓ 102 callers
Method
references_error
(&self)
compiler/rustc_middle/src/ty/visit.rs:95
↓ 102 callers
Method
then
(self, f: F)
src/tools/rust-analyzer/crates/test-utils/src/minicore.rs:686
↓ 102 callers
Method
to
Returns a `Span` that would enclose both `self` and `end`. ```text ____ ___ self lorem ipsum end ^^^^^^^^^^^^^^^^^^^^ ```
compiler/rustc_span/src/lib.rs:790
↓ 102 callers
Method
to_predicate
(self, _tcx: TyCtxt<'tcx>)
compiler/rustc_middle/src/ty/mod.rs:1133
↓ 102 callers
Method
to_str
(&self)
src/tools/compiletest/src/common.rs:130
↓ 101 callers
Function
cvt
(t: T)
library/std/src/sys/unix/mod.rs:289
↓ 101 callers
Method
replace
Replaces all occurrences of one Span with another. Used to move `Span`s in areas that don't display well (like std macros). Returns whether replacemen
compiler/rustc_error_messages/src/lib.rs:481
↓ 101 callers
Method
to_string
(&self)
compiler/rustc_index/src/bit_set.rs:1076
↓ 100 callers
Method
and
(self, value: T)
compiler/rustc_apfloat/src/lib.rs:71
↓ 100 callers
Method
as_mut_ptr
(&mut self)
src/test/ui/typeck/issue-65611.rs:34
↓ 100 callers
Function
new
()
library/std/src/sys/sgx/thread.rs:99
↓ 99 callers
Method
cast
( &mut self, src: &OpTy<'tcx, M::Provenance>, cast_kind: CastKind, cast_ty: Ty
compiler/rustc_const_eval/src/interpret/cast.rs:19
↓ 99 callers
Method
len
(&self)
compiler/rustc_ast/src/tokenstream.rs:388
↓ 99 callers
Function
new
()
src/test/ui/mir/issue-73914.rs:20
↓ 99 callers
Method
ok_or
(self, err: E)
library/core/src/option.rs:1047
↓ 99 callers
Method
saturating_sub
(self, rhs: Duration)
library/core/src/time.rs:575
↓ 98 callers
Method
push
(&mut self, val: T)
compiler/rustc_span/src/source_map.rs:58
↓ 98 callers
Method
ty
(self, db: &dyn HirDatabase)
src/tools/rust-analyzer/crates/ide-completion/src/render/literal.rs:187
↓ 98 callers
Method
wrapping_add
(self, count: usize)
library/core/src/ptr/mut_ptr.rs:1169
↓ 97 callers
Method
as_mut_ptr
Obtain a raw pointer to the first element of this user slice.
library/std/src/sys/sgx/abi/usercalls/alloc.rs:671
↓ 97 callers
Method
len
(&self)
src/librustdoc/fuzz_target/api_sequence.rs:91
↓ 97 callers
Method
read_pointer
`offset` is relative to this allocation reference, not the base of the allocation.
compiler/rustc_const_eval/src/interpret/memory.rs:948
↓ 96 callers
Method
at
( &'a self, cause: &'a ObligationCause<'tcx>, param_env: ty::ParamEnv<'tcx>, )
compiler/rustc_infer/src/infer/at.rs:53
↓ 96 callers
Method
clone_for_update
(&self)
src/tools/rust-analyzer/crates/ide-db/src/imports/insert_use.rs:149
↓ 96 callers
Method
expect
(self, msg: &str)
library/core/src/option.rs:738
↓ 96 callers
Method
then_some
(self, t: T)
library/core/src/bool.rs:36
↓ 95 callers
Method
as_ptr
(&self)
src/tools/clippy/tests/ui/useful_asref.rs:8
↓ 95 callers
Method
count
(self)
src/tools/clippy/tests/ui/auxiliary/option_helpers.rs:52
↓ 95 callers
Method
eat_keyword
If the next token is the given keyword, eats it and returns `true`. Otherwise, returns `false`. An expectation is also added for diagnostics purposes.
compiler/rustc_parse/src/parser/mod.rs:641
↓ 95 callers
Method
insert
(map: &mut DynMap, key: AST, value: ID)
src/tools/rust-analyzer/crates/hir-def/src/keys.rs:56
↓ 95 callers
Method
terminator
(&self, mir_body: &'a mir::Body<'tcx>)
compiler/rustc_mir_transform/src/coverage/graph.rs:341
↓ 95 callers
Method
time
(&self, what: &'static str, f: impl FnOnce() -> R)
compiler/rustc_session/src/utils.rs:9
↓ 95 callers
Method
to_def_id
(self)
compiler/rustc_middle/src/ty/mod.rs:386
↓ 94 callers
Function
P
(value: T)
compiler/rustc_ast/src/ptr.rs:39
↓ 94 callers
Function
exit
(n: usize)
src/test/run-make-fulldeps/intrinsic-unreachable/exit-ret.rs:5
↓ 94 callers
Method
load
(sysroot_dir: AbsPathBuf, sysroot_src_dir: AbsPathBuf)
src/tools/rust-analyzer/crates/project-model/src/sysroot.rs:101
↓ 94 callers
Method
meta_item_list
Gets a list of inner meta items from a list `MetaItem` type.
compiler/rustc_ast/src/attr/mod.rs:97
↓ 94 callers
Method
peek
(&self)
src/tools/rust-analyzer/crates/mbe/src/syntax_bridge.rs:495
↓ 94 callers
Function
wrap
Generic wrapper calls log! with a structure.
src/test/ui/issues/issue-31011.rs:16
↓ 93 callers
Method
map_or_else
(self, default: D, f: F)
library/core/src/option.rs:1010
↓ 93 callers
Method
subst
(self, tcx: TyCtxt<'tcx>, substs: &[GenericArg<'tcx>])
compiler/rustc_middle/src/ty/subst.rs:603
↓ 93 callers
Method
ty
(&self)
compiler/rustc_mir_build/src/thir/pattern/deconstruct_pat.rs:1547
↓ 92 callers
Method
add
Indicate that `a < b` (where `<` is this relation)
compiler/rustc_data_structures/src/transitive_relation.rs:98
↓ 92 callers
Method
as_ptr
(&self)
library/std/src/sys/unix/process/process_common.rs:421
← previous
next →
401–500 of 93,053, ranked by callers