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
↓ 65 callers
Method
get_mut
Returns a mutable reference to the value associated with the provided index if it is present.
src/tools/rust-analyzer/lib/la-arena/src/map.rs:70
↓ 65 callers
Method
into_inner
(self)
library/std/src/os/linux/process.rs:67
↓ 65 callers
Method
push
Pushes a new row to the matrix. If the row starts with an or-pattern, this recursively expands it.
src/tools/rust-analyzer/crates/hir-ty/src/diagnostics/match_check/usefulness.rs:417
↓ 65 callers
Method
to_owned
(&self)
src/tools/clippy/tests/ui/unnecessary_to_owned.rs:286
↓ 65 callers
Function
uninit
()
src/test/ui/nll/ty-outlives/wf-unreachable.rs:4
↓ 64 callers
Method
alternate
(&self)
library/core/src/fmt/mod.rs:1899
↓ 64 callers
Method
args
(&mut self, args: I)
src/bootstrap/builder.rs:2278
↓ 64 callers
Method
as_closure
Interpret these substitutions as the substitutions of a closure type. Closure substitutions have a particular structure controlled by the compiler tha
compiler/rustc_middle/src/ty/subst.rs:267
↓ 64 callers
Method
as_slice
(&self)
src/tools/miri/src/concurrency/vector_clock.rs:72
↓ 64 callers
Method
check
Checks if the next token is `tok`, and returns `true` if so. This method will automatically add `tok` to `expected_tokens` if `tok` is not encountere
compiler/rustc_parse/src/parser/mod.rs:598
↓ 64 callers
Method
ends_with
(&self, needle: &str)
src/bootstrap/config.rs:385
↓ 64 callers
Method
get
( &self, metadata: M, i: I, )
compiler/rustc_metadata/src/rmeta/table.rs:321
↓ 64 callers
Function
in_external_macro
Returns whether `span` originates in a foreign crate's external macro. This is used to test whether a lint should not even begin to figure out whethe
compiler/rustc_middle/src/lint.rs:477
↓ 64 callers
Method
iter
(&self)
src/tools/rust-analyzer/crates/ide-assists/src/handlers/extract_function.rs:379
↓ 64 callers
Method
krate
(&self, db: &RootDatabase)
src/tools/rust-analyzer/crates/ide-db/src/defs.rs:50
↓ 64 callers
Method
lookup_char_pos
Looks up source information about a `BytePos`.
compiler/rustc_span/src/source_map.rs:426
↓ 64 callers
Method
or_insert_with
Ensures a value is in the entry by inserting the result of the default function if empty, and returns a mutable reference to the value in the entry.
compiler/rustc_data_structures/src/sso/map.rs:524
↓ 64 callers
Function
over
Checks if two slices are equal as per `eq_fn`.
src/tools/clippy/clippy_utils/src/hir_utils.rs:530
↓ 64 callers
Method
primitive
Get the primitive representation of this type, ignoring the valid range and whether the value is allowed to be undefined (due to being a union).
compiler/rustc_target/src/abi/mod.rs:871
↓ 64 callers
Method
unwrap
(self)
src/test/ui/consts/stable-precise-live-drops-in-libcore.rs:13
↓ 63 callers
Method
cancel
Cancel the diagnostic (a structured diagnostic must either be emitted or cancelled or it will panic when dropped). This method takes `self` by-value
compiler/rustc_errors/src/diagnostic_builder.rs:416
↓ 63 callers
Function
clone
EMIT_MIR inline_shims.clone.Inline.diff
src/test/mir-opt/inline/inline-shims.rs:5
↓ 63 callers
Method
cloned
(self)
library/core/src/option.rs:1780
↓ 63 callers
Method
compare_exchange_weak
even without panics, this helps for Miri backtraces
library/core/src/sync/atomic.rs:673
↓ 63 callers
Method
compiler
Obtain a compiler at a given stage and for a given host. Explicitly does not take `Compiler` since all `Compiler` instances are meant to be obtained t
src/bootstrap/builder.rs:1093
↓ 63 callers
Method
def_map
(&self, db: &dyn db::DefDatabase)
src/tools/rust-analyzer/crates/hir-def/src/lib.rs:104
↓ 63 callers
Method
get_parent_item
Retrieves the `OwnerId` for `id`'s parent item, or `id` itself if no parent item is in this map. The "parent item" is the closest parent node in the H
compiler/rustc_middle/src/hir/map/mod.rs:732
↓ 63 callers
Method
insert
Insert a symbol and its span into symbol gallery. If the symbol has occurred before, ignore the new occurrence.
compiler/rustc_session/src/parse.rs:80
↓ 63 callers
Method
into
(self)
src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_63/proc_macro/bridge/rpc.rs:269
↓ 63 callers
Method
is_empty
(&self)
compiler/rustc_mir_build/src/thir/pattern/usefulness.rs:380
↓ 63 callers
Method
is_err
(&self)
src/tools/clippy/tests/ui/nonminimal_bool_methods.rs:51
↓ 63 callers
Method
mk_substs_trait
(self, self_ty: Ty<'tcx>, rest: &[GenericArg<'tcx>])
compiler/rustc_middle/src/ty/context.rs:2801
↓ 63 callers
Method
or_else
(self, if_other: F)
compiler/rustc_borrowck/src/diagnostics/mod.rs:656
↓ 63 callers
Method
register_removed
(&mut self, name: &str, reason: &str)
compiler/rustc_lint/src/context.rs:305
↓ 63 callers
Method
relate
(self, expected: T, variance: ty::Variance, actual: T)
compiler/rustc_infer/src/infer/at.rs:175
↓ 63 callers
Function
replace
( fields: impl Iterator<Item = T>, sorted_fields: impl IntoIterator<Item = T>, )
src/tools/rust-analyzer/crates/ide-assists/src/handlers/reorder_fields.rs:80
↓ 63 callers
Method
reverse
(self)
library/core/src/cmp.rs:496
↓ 63 callers
Method
shallow_resolve
Resolve any type variables found in `value` -- but only one level. So, if the variable `?X` is bound to some type `Foo<?Y>`, then this would return `
compiler/rustc_infer/src/infer/mod.rs:1400
↓ 63 callers
Method
tcx
(&self)
src/librustdoc/html/render/context.rs:147
↓ 63 callers
Method
to_def
(&self, src: &T)
src/tools/rust-analyzer/crates/hir/src/semantics.rs:440
↓ 63 callers
Method
to_string
(self)
src/test/debuginfo/embedded-visualizer.py:11
↓ 63 callers
Method
type_dependent_def_id
(&self, id: HirId)
compiler/rustc_middle/src/ty/context.rs:645
↓ 63 callers
Method
visibility
(&self, db: &RootDatabase)
src/tools/rust-analyzer/crates/ide-db/src/defs.rs:81
↓ 62 callers
Method
as_adt
(&self)
src/tools/rust-analyzer/crates/hir/src/lib.rs:3279
↓ 62 callers
Function
check_fix
(ra_fixture_before: &str, ra_fixture_after: &str)
src/tools/rust-analyzer/crates/ide-diagnostics/src/tests.rs:21
↓ 62 callers
Method
crate_graph
Build a search scope spanning the entire crate graph of files.
src/tools/rust-analyzer/crates/ide-db/src/search.rs:93
↓ 62 callers
Method
finish
(self)
compiler/rustc_serialize/src/opaque.rs:28
↓ 62 callers
Method
insert
Inserts a key-value pair into the map. If the map did not have this key present, [`None`] is returned. If the map did have this key present, the val
compiler/rustc_data_structures/src/sso/map.rs:234
↓ 62 callers
Function
int
(x: u64)
src/test/codegen/function-arguments.rs:66
↓ 62 callers
Method
iter
(&self)
library/std/src/sync/mpsc/mod.rs:1408
↓ 62 callers
Method
len
Amount of files currently stored. Note that this includes deleted files.
src/tools/rust-analyzer/crates/vfs/src/lib.rs:118
↓ 62 callers
Method
mirror_expr
(&mut self, expr: &'tcx hir::Expr<'tcx>)
compiler/rustc_mir_build/src/thir/cx/expr.rs:26
↓ 62 callers
Method
recv
Receive the next value
src/test/ui/async-await/auxiliary/issue-72470-lib.rs:139
↓ 62 callers
Method
sess
(&self)
compiler/rustc_codegen_llvm/src/context.rs:547
↓ 62 callers
Method
store
(self, _ordering: Ordering)
src/test/ui/lint/lint-invalid-atomic-ordering-false-positive.rs:10
↓ 61 callers
Function
channel
(size: usize)
src/test/ui/issues/issue-41677.rs:22
↓ 61 callers
Function
check
(ra_fixture: &str, expect: Expect)
src/tools/rust-analyzer/crates/ide/src/references.rs:1091
↓ 61 callers
Method
expect
(&mut self, cond: Self::Value, _expected: bool)
compiler/rustc_codegen_gcc/src/intrinsic/mod.rs:354
↓ 61 callers
Method
get
(&self)
library/core/src/cell.rs:449
↓ 61 callers
Method
get
(&self)
compiler/rustc_codegen_gcc/example/dst-field-align.rs:13
↓ 61 callers
Method
is_box
(self)
compiler/rustc_middle/src/ty/adt.rs:334
↓ 61 callers
Method
is_file
(&self)
library/std/src/fs.rs:1145
↓ 61 callers
Method
len
(&self)
library/std/src/fs.rs:1191
↓ 61 callers
Method
map
Converts `self` into a new owning reference that points at something reachable from the previous one. This can be a reference to a field of `U`, some
compiler/rustc_data_structures/src/owning_ref/mod.rs:366
↓ 61 callers
Method
max
(self, other: AbiAndPrefAlign)
compiler/rustc_target/src/abi/mod.rs:609
↓ 61 callers
Method
offset_left
(&self, width: usize)
src/tools/rustfmt/src/shape.rs:253
↓ 61 callers
Function
v
(*args)
src/bootstrap/configure.py:30
↓ 61 callers
Method
visit_span
(&mut self, _sp: &mut Span)
compiler/rustc_ast/src/mut_visit.rs:285
↓ 60 callers
Function
create_dir_all
(path: P)
library/std/src/fs.rs:2198
↓ 60 callers
Method
entry
(&self, ptr: &EntryPtr)
src/tools/rust-analyzer/crates/tt/src/buffer.rs:112
↓ 60 callers
Method
fold_with
(&self, folder: &mut F)
compiler/rustc_mir_build/src/thir/pattern/mod.rs:702
↓ 60 callers
Method
is_dir
(&self)
src/test/ui/issues/issue-20797.rs:11
↓ 60 callers
Method
is_empty
(&self)
compiler/rustc_ast_pretty/src/pp/ring.rs:25
↓ 60 callers
Method
split_at
(&self, mid: usize)
library/core/src/str/mod.rs:672
↓ 60 callers
Method
to_string
(&self)
src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_63/ra_server.rs:204
↓ 60 callers
Function
unsupported
()
library/std/src/sys/hermit/mod.rs:64
↓ 60 callers
Method
unwrap
(self)
src/test/rustdoc/auxiliary/issue-99734-aux.rs:3
↓ 59 callers
Method
as_slice
(&self)
src/tools/rust-analyzer/crates/hir-ty/src/diagnostics/match_check/deconstruct_pat.rs:349
↓ 59 callers
Method
body
Returns the body of the guard In other words, returns the e in either of the following: - `if e` - `if let x = e`
compiler/rustc_hir/src/hir.rs:1391
↓ 59 callers
Method
char_indices
(&self)
library/core/src/str/mod.rs:839
↓ 59 callers
Function
check_no_mismatches
(ra_fixture: &str)
src/tools/rust-analyzer/crates/hir-ty/src/tests.rs:72
↓ 59 callers
Method
finish
Finishes out reading this pipe entirely. Waits for any pending and schedule read, and then calls `read_to_end` if necessary to read all the remaining
library/std/src/sys/windows/pipe.rs:496
↓ 59 callers
Method
insert
(&mut self, k: K, v: V)
library/std/src/collections/hash/map.rs:1103
↓ 59 callers
Method
len
(&self)
src/tools/rust-analyzer/crates/project-model/src/workspace.rs:47
↓ 59 callers
Method
push_front
(&mut self, elt: T)
library/alloc/src/collections/linked_list.rs:793
↓ 59 callers
Function
set_var
(key: K, value: V)
library/std/src/env.rs:347
↓ 59 callers
Method
tcx
(&self)
compiler/rustc_hir_analysis/src/check/dropck.rs:243
↓ 59 callers
Method
word_nbsp
(&mut self, w: S)
compiler/rustc_ast_pretty/src/helpers.rs:34
↓ 58 callers
Method
and
(&mut self, a: RValue<'gcc>, b: RValue<'gcc>)
compiler/rustc_codegen_gcc/src/builder.rs:570
↓ 58 callers
Method
and
Reduce `self` and `constness` to two possible combined states instead of four.
compiler/rustc_middle/src/ty/mod.rs:296
↓ 58 callers
Method
any
(tcx: TyCtxt<'tcx>, iter: impl IntoIterator<Item = Self>)
compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:83
↓ 58 callers
Method
as_ref
(&self)
library/std/src/ffi/os_str.rs:1305
↓ 58 callers
Method
debug_tuple
(&'b mut self, name: &str)
library/core/src/fmt/mod.rs:2130
↓ 58 callers
Method
find
(&self, _: HirId)
compiler/rustc_hir/src/intravisit.rs:121
↓ 58 callers
Method
node_type
(&self, id: hir::HirId)
compiler/rustc_middle/src/ty/context.rs:703
↓ 58 callers
Method
remove
Removes an index from the map, returning the value at the index if the index was previously in the map.
src/tools/rust-analyzer/lib/la-arena/src/map.rs:47
↓ 58 callers
Method
res
(self)
compiler/rustc_resolve/src/lib.rs:338
↓ 58 callers
Method
resolve_vars_if_possible
(&self, value: T)
compiler/rustc_hir_typeck/src/mem_categorization.rs:128
↓ 58 callers
Method
self_ty
(self, db: &dyn HirDatabase)
src/tools/rust-analyzer/crates/hir/src/lib.rs:2730
↓ 58 callers
Method
sess
(&self)
compiler/rustc_lint/src/levels.rs:509
← previous
next →
701–800 of 93,053, ranked by callers