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
↓ 58 callers
Method
set_len
(&self, size: u64)
library/std/src/fs.rs:531
↓ 58 callers
Method
starts_with
(&self, needle: &str)
src/bootstrap/config.rs:381
↓ 58 callers
Method
substitute
(self)
src/test/incremental/issue-80691-bad-eval-cache.rs:79
↓ 58 callers
Method
to_string
(&mut self, stream: &Self::TokenStream)
compiler/rustc_expand/src/proc_macro_server.rs:485
↓ 58 callers
Method
write_str
(&mut self, s: &str)
compiler/rustc_symbol_mangling/src/legacy.rs:404
↓ 57 callers
Function
create_default_session_globals_then
(f: impl FnOnce() -> R)
compiler/rustc_span/src/lib.rs:154
↓ 57 callers
Function
drop
(_val: T)
src/tools/clippy/tests/ui/drop_ref.rs:37
↓ 57 callers
Method
error
Emit error with the `message` FIXME: this should be much more fancy and support structured errors with spans and notes, like rustc does.
src/tools/rust-analyzer/crates/parser/src/parser.rs:197
↓ 57 callers
Method
ident
(&self)
compiler/rustc_ast/src/ast.rs:2480
↓ 57 callers
Method
into
(self)
library/std/src/process.rs:1662
↓ 57 callers
Method
is_enum
(self)
compiler/rustc_middle/src/ty/adt.rs:272
↓ 57 callers
Method
len
(&self)
library/alloc/src/collections/btree/set.rs:1178
↓ 57 callers
Method
mk_unit
(self)
compiler/rustc_middle/src/ty/context.rs:2525
↓ 57 callers
Method
next
(&mut self)
src/tools/rust-analyzer/crates/syntax/src/ast.rs:95
↓ 57 callers
Method
recv
(&self)
library/std/src/sync/mpsc/mod.rs:1158
↓ 57 callers
Method
to_bits
(self)
src/tools/miri/src/stacked_borrows/item.rs:86
↓ 57 callers
Method
trim_end
(&self)
library/core/src/str/mod.rs:1931
↓ 57 callers
Method
write_all
(&mut self, xs: &[u8])
src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_63/proc_macro/bridge/buffer.rs:110
↓ 57 callers
Function
yield_now
()
src/test/ui/liveness/liveness-upvars.rs:109
↓ 56 callers
Method
borrow
(&self)
src/tools/clippy/tests/ui/should_impl_trait/method_list_1.rs:49
↓ 56 callers
Function
current_exe
()
library/std/src/env.rs:685
↓ 56 callers
Method
dedup
(&mut self)
library/alloc/src/vec/mod.rs:2553
↓ 56 callers
Method
extend
Combine usefulnesses from two branches. This is an associative operation.
src/tools/rust-analyzer/crates/hir-ty/src/diagnostics/match_check/usefulness.rs:480
↓ 56 callers
Method
fatal
(&self, msg: &str)
compiler/rustc_codegen_ssa/src/back/write.rs:1729
↓ 56 callers
Method
ibox
Inconsistent breaking box
compiler/rustc_ast_pretty/src/pp/convenience.rs:11
↓ 56 callers
Method
iter
(&self)
src/tools/miri/src/concurrency/range_object_map.rs:136
↓ 56 callers
Method
keys
(&self)
compiler/rustc_session/src/config.rs:419
↓ 56 callers
Method
len
(&self)
src/tools/rust-analyzer/crates/hir-ty/src/diagnostics/match_check/usefulness.rs:366
↓ 56 callers
Method
min
(self, x: u64)
src/tools/clippy/tests/ui/min_max.rs:13
↓ 56 callers
Method
swap
(&self, other: &Self)
library/core/src/cell.rs:383
↓ 56 callers
Method
to_string_lossy
(&self)
library/std/src/path.rs:2044
↓ 56 callers
Method
trim_start_matches
(&'a self, pat: P)
library/core/src/str/mod.rs:2093
↓ 56 callers
Method
with_db
Performs an operation on the database that may be canceled. rust-analyzer needs to be able to answer semantic questions about the code while the code
src/tools/rust-analyzer/crates/ide/src/lib.rs:702
↓ 56 callers
Method
wrapping_sub
(self, count: usize)
library/core/src/ptr/mut_ptr.rs:1249
↓ 56 callers
Function
write
(path: P, contents: C)
library/std/src/fs.rs:323
↓ 55 callers
Function
check
(fun: F, input: &str, expect: Expect)
src/tools/rust-analyzer/crates/hir-ty/src/diagnostics/decl_check/case_conv.rs:148
↓ 55 callers
Method
collect
()
src/tools/rust-analyzer/crates/rust-analyzer/tests/slow-tests/sourcegen.rs:28
↓ 55 callers
Method
deref_operand
( &self, src: &OpTy<'tcx, M::Provenance>, )
compiler/rustc_const_eval/src/interpret/place.rs:322
↓ 55 callers
Method
eat
Consume the next token if `kind` matches.
src/tools/rust-analyzer/crates/parser/src/parser.rs:99
↓ 55 callers
Method
for_each
(&self, mut f: impl FnMut(mir::Place<'tcx>))
compiler/rustc_mir_dataflow/src/framework/mod.rs:608
↓ 55 callers
Method
is_zst
Returns `true` if the type is a ZST and not unsized.
compiler/rustc_target/src/abi/mod.rs:1494
↓ 55 callers
Method
push
Pushes a new row to the matrix. If the row starts with an or-pattern, this recursively expands it.
compiler/rustc_mir_build/src/thir/pattern/usefulness.rs:469
↓ 55 callers
Function
walk_item
(visitor: &mut V, item: &'a Item)
compiler/rustc_ast/src/visit.rs:299
↓ 54 callers
Method
clone
(&self)
library/core/src/iter/sources/empty.rs:81
↓ 54 callers
Function
cmp
Comparison (unsigned) of two significands.
compiler/rustc_apfloat/src/ieee.rs:2302
↓ 54 callers
Function
do_check
(before: &str, afters: &[&str])
src/tools/rust-analyzer/crates/ide/src/extend_selection.rs:330
↓ 54 callers
Function
generics
(db: &dyn DefDatabase, def: GenericDefId)
src/tools/rust-analyzer/crates/hir-ty/src/utils.rs:174
↓ 54 callers
Method
get_diagnostic_item
Obtain the given diagnostic item's `DefId`. Use `is_diagnostic_item` if you just want to compare against another `DefId`, since `is_diagnostic_item` i
compiler/rustc_middle/src/ty/context.rs:1346
↓ 54 callers
Method
is_ignore
(&self)
compiler/rustc_target/src/abi/call/mod.rs:567
↓ 54 callers
Method
join
(self)
src/test/ui/traits/issue-43132.rs:44
↓ 54 callers
Method
next
(&mut self)
src/tools/clippy/tests/ui/while_let_on_iterator.rs:306
↓ 54 callers
Method
push
Pushes an entry onto the back of the list. # Safety The entry must remain allocated until the entry is removed from the list AND the caller who popp
library/std/src/sys/sgx/waitqueue/unsafe_list.rs:76
↓ 54 callers
Method
push_front
(&mut self, value: T)
library/alloc/src/collections/vec_deque/mod.rs:1550
↓ 54 callers
Method
replace
(range: TextRange, replace_with: String)
src/tools/rust-analyzer/crates/text-edit/src/lib.rs:41
↓ 54 callers
Function
snippet_opt
Converts a span to a code snippet. Returns `None` if not available.
src/tools/clippy/clippy_utils/src/source.rs:213
↓ 54 callers
Method
span
(&self)
compiler/rustc_ast/src/ast.rs:153
↓ 54 callers
Method
to_u32
(self)
src/tools/miri/src/concurrency/thread.rs:48
↓ 54 callers
Method
tree
(&self)
src/tools/rust-analyzer/crates/syntax/src/lib.rs:104
↓ 54 callers
Method
ty_adt_def
(self)
compiler/rustc_middle/src/ty/sty.rs:1961
↓ 54 callers
Method
type_i8p
(&self)
compiler/rustc_codegen_ssa/src/traits/type_.rs:44
↓ 54 callers
Method
variant
(self, idx: VariantIdx)
compiler/rustc_middle/src/ty/adt.rs:178
↓ 54 callers
Method
visit_expr
(&mut self, e: &mut P<Expr>)
compiler/rustc_ast/src/mut_visit.rs:151
↓ 53 callers
Method
as_generator
Interpret these substitutions as the substitutions of a generator type. Generator substitutions have a particular structure controlled by the compiler
compiler/rustc_middle/src/ty/subst.rs:275
↓ 53 callers
Method
block_indent
(mut self, config: &Config)
src/tools/rustfmt/src/shape.rs:50
↓ 53 callers
Method
checked_add
(&self, duration: Duration)
src/tools/miri/src/clock.rs:20
↓ 53 callers
Method
clone
(&self)
src/tools/clippy/clippy_lints/src/manual_clamp.rs:699
↓ 53 callers
Method
ends_with
(self, arg: &str)
src/tools/clippy/tests/ui/case_sensitive_file_extension_comparisons.rs:8
↓ 53 callers
Method
fail
(&self, location: Location, msg: impl AsRef<str>)
compiler/rustc_const_eval/src/transform/validate.rs:124
↓ 53 callers
Method
fatal_proc_rec
(&self, err: &str, proc_res: &ProcRes)
src/tools/compiletest/src/runtest.rs:2211
↓ 53 callers
Method
lifetime
(&self)
src/tools/rust-analyzer/crates/syntax/src/ast/generated/nodes.rs:134
↓ 53 callers
Function
repeat
(elt: T)
src/tools/rust-analyzer/crates/test-utils/src/minicore.rs:591
↓ 53 callers
Method
then
Produces a new `Tree` where `other` is sequenced after `self`.
compiler/rustc_transmute/src/layout/tree.rs:134
↓ 53 callers
Method
unwrap_err
(self)
src/tools/clippy/tests/ui/unwrap_expect_used.rs:13
↓ 53 callers
Function
walk_expr
(visitor: &mut V, expression: &'a Expr)
compiler/rustc_ast/src/visit.rs:769
↓ 52 callers
Function
after
Deferred path, main has to wait until typeck finishes, to check if the return type of after is Send.
src/test/ui/impl-trait/auto-trait-leak2.rs:33
↓ 52 callers
Method
as_local
(self)
compiler/rustc_middle/src/ty/mod.rs:1544
↓ 52 callers
Function
check
(ra_fixture: &str, expect: Expect)
src/tools/rust-analyzer/crates/ide/src/signature_help.rs:389
↓ 52 callers
Method
clone
(&self)
src/bootstrap/cache.rs:30
↓ 52 callers
Method
contains_name
(&self, attrs: &[Attribute], name: Symbol)
compiler/rustc_session/src/session.rs:893
↓ 52 callers
Method
decode
(self, metadata: M)
compiler/rustc_metadata/src/rmeta/decoder.rs:260
↓ 52 callers
Method
err_ty
(&self)
src/tools/rust-analyzer/crates/hir-ty/src/infer.rs:641
↓ 52 callers
Method
eval_context_ref
(&self)
src/tools/miri/src/machine.rs:690
↓ 52 callers
Method
finish
(&self)
library/alloc/src/collections/vec_deque/tests.rs:1081
↓ 52 callers
Method
len
(&self)
library/alloc/src/vec/mod.rs:2055
↓ 52 callers
Function
mk
()
src/test/ui/issues/auxiliary/issue-4545.rs:2
↓ 52 callers
Method
next
(&mut self)
src/librustdoc/html/markdown.rs:229
↓ 52 callers
Method
opt_def_id
Return `Some(..)` with the `DefId` of this `Res` if it has a ID, else `None`.
compiler/rustc_hir/src/def.rs:619
↓ 52 callers
Method
push
(&mut self, v: V)
compiler/rustc_data_structures/src/unord.rs:309
↓ 52 callers
Method
recv
(&self, buf: &mut [u8])
library/std/src/net/udp.rs:694
↓ 52 callers
Method
step_by
Advance the view by n, advancing it in-place to (n..).
library/core/src/num/dec2flt/common.rs:125
↓ 52 callers
Method
text
(&self)
src/tools/rust-analyzer/crates/syntax/src/ast/node_ext.rs:18
↓ 52 callers
Method
to_vec
(s: &[Self], alloc: A)
library/alloc/src/slice.rs:119
↓ 51 callers
Method
append
For given `line` inserts `string` with `style` after old content of that line, adding lines if needed
compiler/rustc_errors/src/styled_buffer.rs:110
↓ 51 callers
Method
attrs
Given a node ID, gets a list of attributes associated with the AST corresponding to the node-ID.
compiler/rustc_middle/src/hir/map/mod.rs:907
↓ 51 callers
Method
attrs
(&self)
src/tools/rustfmt/src/modules.rs:53
↓ 51 callers
Method
clone
(&self)
src/test/ui/issues/issue-46069.rs:8
↓ 51 callers
Method
cloned
(&self)
src/tools/rust-analyzer/crates/hir-expand/src/lib.rs:733
↓ 51 callers
Method
debug_list
(&'b mut self)
library/core/src/fmt/mod.rs:2255
↓ 51 callers
Method
extend
Combine usefulnesses from two branches. This is an associative operation.
compiler/rustc_mir_build/src/thir/pattern/usefulness.rs:576
↓ 51 callers
Method
insert
Attempt to insert an impl into this set of children, while comparing for specialization relationships.
compiler/rustc_trait_selection/src/traits/specialize/specialization_graph.rs:83
← previous
next →
801–900 of 93,053, ranked by callers