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
↓ 210 callers
Function
intern
(_: &str)
src/tools/clippy/tests/ui-internal/interning_defined_symbol.rs:37
↓ 210 callers
Method
join
Equivalent of [`Path::join`] for `AbsPath`.
src/tools/rust-analyzer/crates/paths/src/lib.rs:144
↓ 209 callers
Method
contains
(&self, x: u128)
src/tools/clippy/clippy_lints/src/matches/match_same_arms.rs:174
↓ 209 callers
Method
split
(self, db: &dyn HirDatabase)
src/tools/rust-analyzer/crates/hir/src/lib.rs:2633
↓ 208 callers
Method
entry
(&mut self, id: hir::HirId)
compiler/rustc_middle/src/ty/context.rs:361
↓ 207 callers
Method
join
( self, sess: &Session, backend_config: &BackendConfig, )
compiler/rustc_codegen_cranelift/src/driver/aot.rs:53
↓ 206 callers
Function
check_types
(ra_fixture: &str)
src/tools/rust-analyzer/crates/hir-ty/src/tests.rs:64
↓ 206 callers
Method
contains
(&self, local: Local)
compiler/rustc_const_eval/src/transform/check_consts/resolver.rs:289
↓ 206 callers
Function
new
()
library/std/src/io/readbuf/tests.rs:6
↓ 206 callers
Method
nth
Lookahead operation: returns the kind of the next nth token.
src/tools/rust-analyzer/crates/parser/src/parser.rs:51
↓ 201 callers
Function
dummy
``` use foo::dummy; dummy(); ```
src/test/rustdoc/playground-arg.rs:10
↓ 201 callers
Method
write_scalar
( &mut self, val: impl Into<Scalar<M::Provenance>>, dest: &PlaceTy<'tcx, M::Provenance
compiler/rustc_const_eval/src/interpret/place.rs:462
↓ 200 callers
Method
push_back
(&mut self, elt: T)
library/alloc/src/collections/linked_list.rs:836
↓ 197 callers
Method
or_else
(self, f: impl FnOnce() -> PerNs)
src/tools/rust-analyzer/crates/hir-def/src/per_ns.rs:91
↓ 197 callers
Method
struct_span_err
( &self, span: impl Into<MultiSpan>, msg: impl Into<DiagnosticMessage>, )
compiler/rustc_errors/src/lib.rs:775
↓ 196 callers
Method
lookup
(obj: &T)
src/tools/rust-analyzer/crates/hir-def/src/intern.rs:42
↓ 196 callers
Method
push
(&mut self, constraint: OutlivesConstraint<'tcx>)
compiler/rustc_borrowck/src/constraints/mod.rs:23
↓ 196 callers
Function
unsf
()
src/test/ui/span/lint-unused-unsafe.rs:24
↓ 196 callers
Method
zip
(self, other: U)
src/test/ui/compare-method/traits-misc-mismatch-2.rs:13
↓ 195 callers
Method
find
Retrieves the `Node` corresponding to `id`, returning `None` if cannot be found.
compiler/rustc_middle/src/hir/map/mod.rs:319
↓ 195 callers
Method
last
(&self)
src/tools/rust-analyzer/crates/hir-def/src/path.rs:163
↓ 194 callers
Method
into
(self)
compiler/rustc_middle/src/ty/adt.rs:201
↓ 193 callers
Method
cloned
(&self)
src/tools/rust-analyzer/crates/tt/src/buffer.rs:125
↓ 193 callers
Function
decode
Returns a sign (true when negative) and `FullDecoded` value from given floating point number.
library/core/src/num/flt2dec/decoder.rs:62
↓ 193 callers
Method
end
If the cursor is pointing at the end of a subtree, returns the parent subtree
src/tools/rust-analyzer/crates/tt/src/buffer.rs:159
↓ 193 callers
Function
from_str
(t: &str)
library/std/src/num/tests.rs:193
↓ 193 callers
Method
pop
(&mut self)
compiler/rustc_index/src/vec.rs:129
↓ 192 callers
Function
check_infer
(ra_fixture: &str, expect: Expect)
src/tools/rust-analyzer/crates/hir-ty/src/tests.rs:519
↓ 192 callers
Method
ctxt
(&self)
compiler/rustc_ast/src/visit.rs:84
↓ 192 callers
Method
iter
(&self)
compiler/rustc_mir_build/src/thir/pattern/usefulness.rs:392
↓ 192 callers
Function
new
()
src/test/ui/parser/unclosed_delim_mod.rs:4
↓ 191 callers
Method
to
(self, end: InnerOffset)
compiler/rustc_parse_format/src/lib.rs:54
↓ 190 callers
Function
span
(label: Label)
src/tools/rust-analyzer/crates/profile/src/hprof.rs:61
↓ 188 callers
Method
layout
(&self)
compiler/rustc_codegen_cranelift/src/value_and_place.rs:93
↓ 188 callers
Method
lines
(&self, range: TextRange)
src/tools/rust-analyzer/crates/ide-db/src/line_index.rs:119
↓ 187 callers
Method
is_empty
(&self)
src/librustdoc/html/format.rs:102
↓ 187 callers
Method
set_arg
( &mut self, name: impl Into<Cow<'static, str>>, arg: impl IntoDiagnosticArg, )
compiler/rustc_errors/src/diagnostic.rs:896
↓ 186 callers
Method
debug_struct
(&'b mut self, name: &str)
library/core/src/fmt/mod.rs:1976
↓ 185 callers
Method
check_shim
( &mut self, abi: Abi, exp_abi: Abi, link_name: Symbol, args: &'a [OpT
src/tools/miri/src/helpers.rs:915
↓ 184 callers
Method
find
(&mut self, definition: &Definition)
src/tools/rust-analyzer/crates/ide-ssr/src/search.rs:260
↓ 183 callers
Method
copied
(self)
compiler/rustc_data_structures/src/unord.rs:110
↓ 182 callers
Method
expect
(&self, msg: &str)
src/tools/clippy/tests/ui/expect_fun_call.rs:21
↓ 181 callers
Method
pop
Equivalent of [`PathBuf::pop`] for `AbsPathBuf`. Note that this won't remove the root component, so `self` will still be absolute.
src/tools/rust-analyzer/crates/paths/src/lib.rs:93
↓ 180 callers
Method
kind
(&self)
src/tools/rust-analyzer/crates/ide-completion/src/item.rs:383
↓ 180 callers
Method
map
(self, f: impl FnOnce(T) -> U)
src/tools/rust-analyzer/crates/hir-ty/src/infer.rs:180
↓ 179 callers
Method
len
(&self)
compiler/rustc_mir_build/src/thir/pattern/usefulness.rs:384
↓ 179 callers
Method
parent
Finds a parent module.
src/tools/rust-analyzer/crates/hir/src/lib.rs:470
↓ 179 callers
Method
take
(&self, len: usize)
src/tools/rust-analyzer/crates/hir-def/src/path.rs:178
↓ 178 callers
Method
intern
Insert `path` in `self`. - If `path` already exists in `self`, returns its associated id; - Else, returns a newly allocated id.
src/tools/rust-analyzer/crates/vfs/src/path_interner.rs:34
↓ 178 callers
Method
local_def_id
(&self, node: NodeId)
compiler/rustc_resolve/src/lib.rs:1120
↓ 176 callers
Method
local_def_id_to_hir_id
(self, def_id: LocalDefId)
compiler/rustc_middle/src/hir/map/mod.rs:198
↓ 174 callers
Method
alloc
(&self, object: T)
compiler/rustc_arena/src/lib.rs:208
↓ 174 callers
Function
from_utf8
(v: &[u8])
library/core/src/str/converts.rs:87
↓ 174 callers
Method
map
(self, f: F)
compiler/rustc_mir_dataflow/src/elaborate_drops.rs:87
↓ 174 callers
Method
shrink_to_lo
(self)
compiler/rustc_span/src/lib.rs:602
↓ 173 callers
Method
chars
(&self)
library/core/src/str/mod.rs:782
↓ 172 callers
Method
emit
(self, err: &mut Diagnostic)
compiler/rustc_parse/src/parser/diagnostics.rs:212
↓ 171 callers
Method
as_str
(&self)
src/librustdoc/formats/item_type.rs:150
↓ 171 callers
Method
cloned
(self)
compiler/rustc_data_structures/src/unord.rs:103
↓ 171 callers
Method
collect
(db: &dyn HirDatabase, module: Module)
src/tools/rust-analyzer/crates/hir/src/symbols.rs:104
↓ 171 callers
Method
complete
Finishes the syntax tree node and assigns `kind` to it, and mark the create a `CompletedMarker` for possible future operation like `.precede()` to dea
src/tools/rust-analyzer/crates/parser/src/parser.rs:262
↓ 171 callers
Method
format
The main entry point for Rustfmt. Formats the given input according to the given config. `out` is only necessary if required by the configuration.
src/tools/rustfmt/src/lib.rs:453
↓ 171 callers
Method
span_note
( &mut self, sp: S, msg: impl Into<SubdiagnosticMessage>, )
compiler/rustc_errors/src/diagnostic.rs:431
↓ 170 callers
Function
from_u32
(i: u32)
library/core/src/char/mod.rs:116
↓ 170 callers
Function
unwrap
This needs to be documented
src/tools/clippy/tests/ui/missing_panics_doc.rs:6
↓ 168 callers
Method
span_suggestion_verbose
Always show the suggested change.
compiler/rustc_errors/src/diagnostic.rs:668
↓ 167 callers
Method
starts_with
(&self, base: P)
library/std/src/path.rs:2304
↓ 166 callers
Method
to_owned
(&self)
src/tools/clippy/tests/ui/implicit_clone.rs:51
↓ 166 callers
Function
var_os
(key: K)
library/std/src/env.rs:268
↓ 165 callers
Method
args
(&self)
src/tools/rust-analyzer/crates/syntax/src/ast/generated/nodes.rs:354
↓ 165 callers
Method
hi
(self)
compiler/rustc_span/src/lib.rs:531
↓ 165 callers
Method
sort
(&mut self)
library/alloc/src/slice.rs:202
↓ 164 callers
Method
last
(&self)
compiler/rustc_index/src/vec.rs:210
↓ 163 callers
Method
clone
(&self)
src/tools/rust-analyzer/crates/syntax/src/lib.rs:81
↓ 160 callers
Method
checked_sub
(&self, duration: Duration)
library/std/src/time.rs:394
↓ 160 callers
Function
open
(builder: &Builder<'_>, path: impl AsRef<Path>)
src/bootstrap/doc.rs:88
↓ 159 callers
Method
from_expansion
(self)
compiler/rustc_span/src/lib.rs:563
↓ 159 callers
Function
opts
(endian: Endian)
compiler/rustc_target/src/spec/bpf_base.rs:4
↓ 159 callers
Function
span_lint_and_sugg
( cx: &'a T, lint: &'static Lint, sp: Span, msg: &str, help: &str, sugg: String, a
src/tools/clippy/clippy_utils/src/diagnostics.rs:195
↓ 158 callers
Function
check
(literal_text: &str, expected_error: EscapeError)
compiler/rustc_lexer/src/unescape/tests.rs:5
↓ 158 callers
Method
len
(&self)
library/core/src/str/mod.rs:159
↓ 158 callers
Method
push
(&mut self, lines: &str)
compiler/rustc_middle/src/mir/pretty.rs:419
↓ 157 callers
Function
child
(parent: &SyntaxNode)
src/tools/rust-analyzer/crates/syntax/src/ast.rs:103
↓ 157 callers
Method
insert
(&mut self, id: hir::HirId, val: V)
compiler/rustc_middle/src/ty/context.rs:366
↓ 156 callers
Method
bump
Advance the parser by one token.
compiler/rustc_parse/src/parser/mod.rs:1060
↓ 156 callers
Method
cx
(&self)
compiler/rustc_codegen_gcc/src/builder.rs:1271
↓ 156 callers
Method
iter
Provides read-only iteration over everything in the given range. This does not* split items if they overlap with the edges. Do not use this to mutate
src/tools/miri/src/range_map.rs:66
↓ 155 callers
Function
catch_unwind
(f: F)
library/std/src/panic.rs:136
↓ 155 callers
Method
def_id
Return the `DefId` of this `Def` if it has an ID, else panic.
compiler/rustc_hir/src/def.rs:610
↓ 155 callers
Method
load_scalar
Load a value with layout.abi of scalar
compiler/rustc_codegen_cranelift/src/value_and_place.rs:162
↓ 155 callers
Method
peekable
(self)
library/core/src/iter/traits/iterator.rs:1058
↓ 154 callers
Function
replace
(dest: &mut T, src: T)
library/core/src/mem/mod.rs:912
↓ 153 callers
Method
lock
(&self)
src/tools/clippy/tests/ui/significant_drop_in_scrutinee.rs:451
↓ 153 callers
Function
min
(v1: T, v2: T)
library/core/src/cmp.rs:1207
↓ 153 callers
Method
syntax
(&self)
src/tools/rust-analyzer/crates/syntax/src/ast/generated/nodes.rs:1703
↓ 152 callers
Function
assert
()
src/test/ui/not-panic/not-panic-safe.rs:5
↓ 152 callers
Method
to_string
(&self)
library/alloc/src/string.rs:2532
↓ 151 callers
Method
into
(self)
compiler/rustc_hir/src/hir.rs:1257
↓ 151 callers
Method
len
(&self)
src/librustdoc/html/format.rs:150
↓ 150 callers
Method
into
(self)
compiler/rustc_const_eval/src/const_eval/error.rs:31
← previous
next →
201–300 of 93,053, ranked by callers