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
↓ 92 callers
Method
ok
(&self)
src/tools/clippy/tests/ui/zero_sized_hashmap_values.rs:34
↓ 92 callers
Method
or_default
(self)
compiler/rustc_data_structures/src/sso/map.rs:554
↓ 92 callers
Method
store
(&self, filename: &Path)
src/tools/miri/cargo-miri/src/util.rs:64
↓ 92 callers
Method
to_string
(&self)
src/test/ui/specialization/min_specialization/issue-79224.rs:13
↓ 91 callers
Method
iter
(&self)
src/tools/rust-analyzer/crates/ide-db/src/search.rs:37
↓ 91 callers
Method
join
(slice: &Self, sep: &OsStr)
library/std/src/ffi/os_str.rs:1268
↓ 91 callers
Method
len
(&self)
library/alloc/src/collections/vec_deque/mod.rs:1163
↓ 91 callers
Method
syntax
(&self)
src/tools/rust-analyzer/crates/hir-expand/src/lib.rs:952
↓ 90 callers
Function
ident_path
(ident: &str)
src/tools/rust-analyzer/crates/syntax/src/ast/make.rs:31
↓ 90 callers
Function
op
(foo: Bar, key : &[u8], upd : Fn(Option<&memcache::Item> , Baz ) -> Result)
src/tools/rustfmt/tests/source/paths.rs:25
↓ 90 callers
Method
output
(&self)
compiler/rustc_middle/src/ty/sty.rs:1218
↓ 90 callers
Method
push
(&mut self, undo: T)
compiler/rustc_infer/src/infer/undo_log.rs:114
↓ 90 callers
Method
resume
(mut self: Pin<&mut Self>, _args: ())
src/test/ui/generator/issue-68112.rs:14
↓ 90 callers
Method
tcx
(&self)
compiler/rustc_trait_selection/src/traits/select/mod.rs:260
↓ 90 callers
Function
tmpdir
()
library/std/src/sys_common/io.rs:42
↓ 90 callers
Method
with_lo
(&self, lo: BytePos)
compiler/rustc_span/src/lib.rs:476
↓ 89 callers
Method
fields
(self, ctx: &CompletionContext<'_>)
src/tools/rust-analyzer/crates/ide-completion/src/render/literal.rs:143
↓ 89 callers
Method
into_tcx
(self, tcx: TyCtxt<'_>)
src/librustdoc/json/conversions.rs:128
↓ 89 callers
Method
load
()
src/test/ui/traits/cache-issue-18209.rs:11
↓ 89 callers
Method
push
Returns a new stack with an element of top.
compiler/rustc_expand/src/mbe/macro_check.rs:144
↓ 89 callers
Method
sort_by_key
(&mut self, mut f: F)
library/alloc/src/slice.rs:300
↓ 89 callers
Function
walk_expr
Preorder walk all the expression's child expressions.
src/tools/rust-analyzer/crates/ide-db/src/syntax_helpers/node_ext.rs:30
↓ 88 callers
Function
by_val
(e: E)
src/test/ui/pattern/usefulness/non-exhaustive-defined-here.rs:36
↓ 88 callers
Method
current_dir
(&mut self, dir: &Path)
src/bootstrap/builder.rs:2301
↓ 88 callers
Method
parse
Gets the syntax tree of the file.
src/tools/rust-analyzer/crates/ide/src/lib.rs:264
↓ 88 callers
Method
parse
(&self)
src/test/ui/issues/issue-2590.rs:10
↓ 88 callers
Method
struct_span_lint
Emit a lint at the appropriate level, with an associated span. Return value of the `decorate` closure is ignored, see [`struct_lint_level`] for a det
compiler/rustc_lint/src/context.rs:911
↓ 87 callers
Method
all
()
compiler/rustc_session/src/config.rs:213
↓ 87 callers
Method
as_ptr
(&self)
src/test/ui/typeck/issue-65611.rs:33
↓ 87 callers
Method
clone
(&self)
library/alloc/tests/vec.rs:2251
↓ 87 callers
Method
get_unchecked
(&self, i: I)
library/core/src/str/mod.rs:507
↓ 87 callers
Method
iter
Iterator over types and const params of self, then parent.
src/tools/rust-analyzer/crates/hir-ty/src/utils.rs:199
↓ 87 callers
Function
read_to_string
(path: P)
library/std/src/fs.rs:288
↓ 87 callers
Method
splitn
(&'a self, n: usize, pat: P)
library/core/src/str/mod.rs:1574
↓ 87 callers
Method
struct_err
( &self, msg: impl Into<DiagnosticMessage>, )
compiler/rustc_errors/src/lib.rs:801
↓ 86 callers
Method
extend_from_slice
(&mut self, other: &[T])
library/alloc/src/vec/mod.rs:2391
↓ 86 callers
Method
infer_ctxt
(self)
compiler/rustc_infer/src/infer/mod.rs:563
↓ 86 callers
Method
kind
(&self)
src/tools/rust-analyzer/crates/ide-assists/src/handlers/extract_function.rs:416
↓ 86 callers
Method
qpath_res
Returns the final resolution of a `QPath`, or `Res::Err` if unavailable. Unlike `.typeck_results().qpath_res(qpath, id)`, this can be used even outsid
compiler/rustc_lint/src/context.rs:1078
↓ 86 callers
Method
resolve_vars_if_possible
Where possible, replaces type/const variables in `value` with their final value. Note that region variables are unaffected. If a type/const variable h
compiler/rustc_infer/src/infer/mod.rs:1417
↓ 86 callers
Method
set
(&mut self, v: String)
src/test/ui/nll/get_default.rs:11
↓ 86 callers
Method
snippet
(&self, span: Span)
src/tools/rustfmt/src/rewrite.rs:66
↓ 85 callers
Method
as_deref
(&self)
compiler/rustc_middle/src/ty/sty.rs:1024
↓ 85 callers
Method
clone
(&self)
src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_63/proc_macro/bridge/client.rs:200
↓ 85 callers
Function
empty
()
src/tools/rust-analyzer/crates/ide-completion/src/tests/attribute.rs:907
↓ 85 callers
Method
ensure
Ensure that the set can hold at least `min_domain_size` elements.
compiler/rustc_index/src/bit_set.rs:1502
↓ 85 callers
Method
map
(x: U)
src/test/ui/issues/issue-69306.rs:40
↓ 85 callers
Function
metadata
(path: P)
library/std/src/fs.rs:1825
↓ 85 callers
Method
path
single, non-aliased path
src/bootstrap/builder.rs:451
↓ 85 callers
Method
remove
(&mut self, index: I)
compiler/rustc_index/src/vec.rs:307
↓ 85 callers
Method
sess
(mut self, sess: &'a ParseSess)
src/tools/rustfmt/src/parse/parser.rs:42
↓ 85 callers
Function
span_lint
(cx: &LateContext<'_>, span: Span)
src/tools/clippy/clippy_lints/src/use_self.rs:304
↓ 85 callers
Method
to_string
(&self, tcx: TyCtxt<'tcx>)
compiler/rustc_middle/src/ty/closure.rs:159
↓ 84 callers
Method
diagnostic
(&self)
compiler/rustc_session/src/session.rs:607
↓ 84 callers
Function
from_ptr
()
src/test/ui/mir/mir_misc_casts.rs:7
↓ 84 callers
Method
into
(self)
library/std/src/sys/windows/process.rs:680
↓ 84 callers
Method
iter
(&self)
compiler/rustc_session/src/config.rs:511
↓ 84 callers
Method
log
(&self, f: impl FnOnce())
src/tools/rust-analyzer/crates/hir-ty/src/test_db.rs:130
↓ 84 callers
Function
remove_file
(path: P)
library/std/src/fs.rs:1787
↓ 84 callers
Method
store
even without panics, this helps for Miri backtraces
library/core/src/sync/atomic.rs:481
↓ 83 callers
Method
count
Count the number of set bits in the set.
compiler/rustc_index/src/bit_set.rs:154
↓ 83 callers
Method
iter_mut
(&mut self)
compiler/rustc_index/src/vec.rs:182
↓ 83 callers
Method
len
(&self)
compiler/rustc_middle/src/ty/list.rs:65
↓ 83 callers
Method
push
(&mut self, value: T)
compiler/rustc_ast_pretty/src/pp/ring.rs:29
↓ 83 callers
Method
push_span_label
(&mut self, span: Span, label: impl Into<DiagnosticMessage>)
compiler/rustc_error_messages/src/lib.rs:455
↓ 83 callers
Method
send
~ ERROR expected trait, found enum `Chan`
src/test/ui/resolve/issue-2330.rs:9
↓ 82 callers
Method
is_empty
(&self)
src/tools/rust-analyzer/crates/cfg/src/lib.rs:116
↓ 82 callers
Method
push_back
(&mut self, value: T)
library/alloc/src/collections/vec_deque/mod.rs:1575
↓ 81 callers
Method
assume_init
(self)
library/alloc/src/rc.rs:776
↓ 81 callers
Function
early_error
(output: config::ErrorOutputType, msg: &str)
compiler/rustc_session/src/session.rs:1572
↓ 81 callers
Method
file_name
(&self)
src/tools/rustfmt/src/config/file_lines.rs:78
↓ 81 callers
Method
peek
Borrows the query result using the RefCell. Panics if the result is stolen.
compiler/rustc_interface/src/queries.rs:50
↓ 81 callers
Method
read_immediate
( &self, op: &OpTy<'tcx, M::Provenance>, )
compiler/rustc_const_eval/src/interpret/operand.rs:381
↓ 81 callers
Method
require_lang_item
Returns the `DefId` for a given `LangItem`. If not found, fatally aborts compilation.
compiler/rustc_middle/src/middle/lang_items.rs:20
↓ 80 callers
Method
eval_libc
Helper function to get a `libc` constant as a `Scalar`.
src/tools/miri/src/helpers.rs:125
↓ 80 callers
Function
forget
(t: T)
library/core/src/mem/mod.rs:153
↓ 80 callers
Method
insert
Adds a `UniqueTypeId` to metadata mapping to the `TypeMap`. The method will fail if the mapping already exists.
compiler/rustc_codegen_llvm/src/debuginfo/metadata/type_map.rs:131
↓ 80 callers
Method
map
(self, f: impl FnOnce(T) -> U)
compiler/rustc_infer/src/infer/error_reporting/nice_region_error/placeholder_error.rs:336
↓ 80 callers
Method
module
(&self, db: &RootDatabase)
src/tools/rust-analyzer/crates/ide-db/src/defs.rs:57
↓ 80 callers
Method
peel_refs
(mut self)
src/tools/clippy/clippy_utils/src/consts.rs:201
↓ 80 callers
Method
sort_by
(&mut self, mut compare: F)
library/alloc/src/slice.rs:258
↓ 80 callers
Function
with
(f: F)
compiler/rustc_middle/src/ty/context.rs:1980
↓ 79 callers
Method
abs
(self)
library/std/src/f64.rs:155
↓ 79 callers
Method
clear
(&mut self)
compiler/rustc_index/src/bit_set.rs:144
↓ 79 callers
Method
clone
(&self)
compiler/rustc_expand/src/mbe/macro_rules.rs:923
↓ 79 callers
Method
join
(&self, path: &str)
library/std/src/sys_common/io.rs:17
↓ 79 callers
Function
new
()
src/test/ui/traits/alias/issue-75983.rs:11
↓ 79 callers
Method
push
(&mut self, path: P)
library/std/src/path.rs:1271
↓ 79 callers
Function
span_lint
(cx: &EarlyContext<'_>, span: Span, only_one: bool)
src/tools/clippy/clippy_lints/src/misc_early/unneeded_wildcard_pattern.rs:38
↓ 79 callers
Function
t
(lg: LangString)
src/librustdoc/html/markdown/tests.rs:47
↓ 79 callers
Function
write
()
src/test/ui/mir/mir-inlining/ice-issue-77306-1.rs:7
↓ 78 callers
Method
as_ref
(&self)
src/bootstrap/cache.rs:99
↓ 78 callers
Method
item_name
Look up the name of a definition across crates. This does not look at HIR. This method will ICE if the corresponding item does not have a name. In t
compiler/rustc_middle/src/ty/mod.rs:2299
↓ 78 callers
Method
len
(&self)
compiler/rustc_borrowck/src/borrow_set.rs:155
↓ 78 callers
Method
struct_span_lint_hir
Emit a lint at the appropriate level for a hir node, with an associated span. Return value of the `decorate` closure is ignored, see [`struct_lint_le
compiler/rustc_middle/src/ty/context.rs:2833
↓ 77 callers
Method
check
Panics if the map is corrupted or if the keys are not in strictly ascending order, in the current opinion of the `Ord` implementation. If the `Ord` im
library/alloc/src/collections/btree/map/tests.rs:72
↓ 77 callers
Method
clone
(&self)
src/tools/miri/src/concurrency/vector_clock.rs:128
↓ 77 callers
Method
source
(&'a self, edge: &Edge<'a>)
src/tools/rust-analyzer/crates/ide/src/view_crate_graph.rs:68
↓ 77 callers
Method
to_smol_str
Returns the textual representation of this name as a [`SmolStr`]. Prefer using this over [`ToString::to_string`] if possible as this conversion is che
src/tools/rust-analyzer/crates/hir-expand/src/name.rs:56
↓ 76 callers
Function
abort
()
library/std/src/process.rs:2118
← previous
next →
501–600 of 93,053, ranked by callers