MCPcopy Create free account

hub / github.com/Artisan-Lab/RULF / functions

Functions93,053 in github.com/Artisan-Lab/RULF

↓ 58 callersMethodset_len
(&self, size: u64)
library/std/src/fs.rs:531
↓ 58 callersMethodstarts_with
(&self, needle: &str)
src/bootstrap/config.rs:381
↓ 58 callersMethodsubstitute
(self)
src/test/incremental/issue-80691-bad-eval-cache.rs:79
↓ 58 callersMethodto_string
(&mut self, stream: &Self::TokenStream)
compiler/rustc_expand/src/proc_macro_server.rs:485
↓ 58 callersMethodwrite_str
(&mut self, s: &str)
compiler/rustc_symbol_mangling/src/legacy.rs:404
↓ 57 callersFunctioncreate_default_session_globals_then
(f: impl FnOnce() -> R)
compiler/rustc_span/src/lib.rs:154
↓ 57 callersFunctiondrop
(_val: T)
src/tools/clippy/tests/ui/drop_ref.rs:37
↓ 57 callersMethoderror
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 callersMethodident
(&self)
compiler/rustc_ast/src/ast.rs:2480
↓ 57 callersMethodinto
(self)
library/std/src/process.rs:1662
↓ 57 callersMethodis_enum
(self)
compiler/rustc_middle/src/ty/adt.rs:272
↓ 57 callersMethodlen
(&self)
library/alloc/src/collections/btree/set.rs:1178
↓ 57 callersMethodmk_unit
(self)
compiler/rustc_middle/src/ty/context.rs:2525
↓ 57 callersMethodnext
(&mut self)
src/tools/rust-analyzer/crates/syntax/src/ast.rs:95
↓ 57 callersMethodrecv
(&self)
library/std/src/sync/mpsc/mod.rs:1158
↓ 57 callersMethodto_bits
(self)
src/tools/miri/src/stacked_borrows/item.rs:86
↓ 57 callersMethodtrim_end
(&self)
library/core/src/str/mod.rs:1931
↓ 57 callersMethodwrite_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 callersFunctionyield_now
()
src/test/ui/liveness/liveness-upvars.rs:109
↓ 56 callersMethodborrow
(&self)
src/tools/clippy/tests/ui/should_impl_trait/method_list_1.rs:49
↓ 56 callersFunctioncurrent_exe
()
library/std/src/env.rs:685
↓ 56 callersMethoddedup
(&mut self)
library/alloc/src/vec/mod.rs:2553
↓ 56 callersMethodextend
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 callersMethodfatal
(&self, msg: &str)
compiler/rustc_codegen_ssa/src/back/write.rs:1729
↓ 56 callersMethodibox
Inconsistent breaking box
compiler/rustc_ast_pretty/src/pp/convenience.rs:11
↓ 56 callersMethoditer
(&self)
src/tools/miri/src/concurrency/range_object_map.rs:136
↓ 56 callersMethodkeys
(&self)
compiler/rustc_session/src/config.rs:419
↓ 56 callersMethodlen
(&self)
src/tools/rust-analyzer/crates/hir-ty/src/diagnostics/match_check/usefulness.rs:366
↓ 56 callersMethodmin
(self, x: u64)
src/tools/clippy/tests/ui/min_max.rs:13
↓ 56 callersMethodswap
(&self, other: &Self)
library/core/src/cell.rs:383
↓ 56 callersMethodto_string_lossy
(&self)
library/std/src/path.rs:2044
↓ 56 callersMethodtrim_start_matches
(&'a self, pat: P)
library/core/src/str/mod.rs:2093
↓ 56 callersMethodwith_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 callersMethodwrapping_sub
(self, count: usize)
library/core/src/ptr/mut_ptr.rs:1249
↓ 56 callersFunctionwrite
(path: P, contents: C)
library/std/src/fs.rs:323
↓ 55 callersFunctioncheck
(fun: F, input: &str, expect: Expect)
src/tools/rust-analyzer/crates/hir-ty/src/diagnostics/decl_check/case_conv.rs:148
↓ 55 callersMethodcollect
()
src/tools/rust-analyzer/crates/rust-analyzer/tests/slow-tests/sourcegen.rs:28
↓ 55 callersMethodderef_operand
( &self, src: &OpTy<'tcx, M::Provenance>, )
compiler/rustc_const_eval/src/interpret/place.rs:322
↓ 55 callersMethodeat
Consume the next token if `kind` matches.
src/tools/rust-analyzer/crates/parser/src/parser.rs:99
↓ 55 callersMethodfor_each
(&self, mut f: impl FnMut(mir::Place<'tcx>))
compiler/rustc_mir_dataflow/src/framework/mod.rs:608
↓ 55 callersMethodis_zst
Returns `true` if the type is a ZST and not unsized.
compiler/rustc_target/src/abi/mod.rs:1494
↓ 55 callersMethodpush
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 callersFunctionwalk_item
(visitor: &mut V, item: &'a Item)
compiler/rustc_ast/src/visit.rs:299
↓ 54 callersMethodclone
(&self)
library/core/src/iter/sources/empty.rs:81
↓ 54 callersFunctioncmp
Comparison (unsigned) of two significands.
compiler/rustc_apfloat/src/ieee.rs:2302
↓ 54 callersFunctiondo_check
(before: &str, afters: &[&str])
src/tools/rust-analyzer/crates/ide/src/extend_selection.rs:330
↓ 54 callersFunctiongenerics
(db: &dyn DefDatabase, def: GenericDefId)
src/tools/rust-analyzer/crates/hir-ty/src/utils.rs:174
↓ 54 callersMethodget_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 callersMethodis_ignore
(&self)
compiler/rustc_target/src/abi/call/mod.rs:567
↓ 54 callersMethodjoin
(self)
src/test/ui/traits/issue-43132.rs:44
↓ 54 callersMethodnext
(&mut self)
src/tools/clippy/tests/ui/while_let_on_iterator.rs:306
↓ 54 callersMethodpush
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 callersMethodpush_front
(&mut self, value: T)
library/alloc/src/collections/vec_deque/mod.rs:1550
↓ 54 callersMethodreplace
(range: TextRange, replace_with: String)
src/tools/rust-analyzer/crates/text-edit/src/lib.rs:41
↓ 54 callersFunctionsnippet_opt
Converts a span to a code snippet. Returns `None` if not available.
src/tools/clippy/clippy_utils/src/source.rs:213
↓ 54 callersMethodspan
(&self)
compiler/rustc_ast/src/ast.rs:153
↓ 54 callersMethodto_u32
(self)
src/tools/miri/src/concurrency/thread.rs:48
↓ 54 callersMethodtree
(&self)
src/tools/rust-analyzer/crates/syntax/src/lib.rs:104
↓ 54 callersMethodty_adt_def
(self)
compiler/rustc_middle/src/ty/sty.rs:1961
↓ 54 callersMethodtype_i8p
(&self)
compiler/rustc_codegen_ssa/src/traits/type_.rs:44
↓ 54 callersMethodvariant
(self, idx: VariantIdx)
compiler/rustc_middle/src/ty/adt.rs:178
↓ 54 callersMethodvisit_expr
(&mut self, e: &mut P<Expr>)
compiler/rustc_ast/src/mut_visit.rs:151
↓ 53 callersMethodas_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 callersMethodblock_indent
(mut self, config: &Config)
src/tools/rustfmt/src/shape.rs:50
↓ 53 callersMethodchecked_add
(&self, duration: Duration)
src/tools/miri/src/clock.rs:20
↓ 53 callersMethodclone
(&self)
src/tools/clippy/clippy_lints/src/manual_clamp.rs:699
↓ 53 callersMethodends_with
(self, arg: &str)
src/tools/clippy/tests/ui/case_sensitive_file_extension_comparisons.rs:8
↓ 53 callersMethodfail
(&self, location: Location, msg: impl AsRef<str>)
compiler/rustc_const_eval/src/transform/validate.rs:124
↓ 53 callersMethodfatal_proc_rec
(&self, err: &str, proc_res: &ProcRes)
src/tools/compiletest/src/runtest.rs:2211
↓ 53 callersMethodlifetime
(&self)
src/tools/rust-analyzer/crates/syntax/src/ast/generated/nodes.rs:134
↓ 53 callersFunctionrepeat
(elt: T)
src/tools/rust-analyzer/crates/test-utils/src/minicore.rs:591
↓ 53 callersMethodthen
Produces a new `Tree` where `other` is sequenced after `self`.
compiler/rustc_transmute/src/layout/tree.rs:134
↓ 53 callersMethodunwrap_err
(self)
src/tools/clippy/tests/ui/unwrap_expect_used.rs:13
↓ 53 callersFunctionwalk_expr
(visitor: &mut V, expression: &'a Expr)
compiler/rustc_ast/src/visit.rs:769
↓ 52 callersFunctionafter
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 callersMethodas_local
(self)
compiler/rustc_middle/src/ty/mod.rs:1544
↓ 52 callersFunctioncheck
(ra_fixture: &str, expect: Expect)
src/tools/rust-analyzer/crates/ide/src/signature_help.rs:389
↓ 52 callersMethodclone
(&self)
src/bootstrap/cache.rs:30
↓ 52 callersMethodcontains_name
(&self, attrs: &[Attribute], name: Symbol)
compiler/rustc_session/src/session.rs:893
↓ 52 callersMethoddecode
(self, metadata: M)
compiler/rustc_metadata/src/rmeta/decoder.rs:260
↓ 52 callersMethoderr_ty
(&self)
src/tools/rust-analyzer/crates/hir-ty/src/infer.rs:641
↓ 52 callersMethodeval_context_ref
(&self)
src/tools/miri/src/machine.rs:690
↓ 52 callersMethodfinish
(&self)
library/alloc/src/collections/vec_deque/tests.rs:1081
↓ 52 callersMethodlen
(&self)
library/alloc/src/vec/mod.rs:2055
↓ 52 callersFunctionmk
()
src/test/ui/issues/auxiliary/issue-4545.rs:2
↓ 52 callersMethodnext
(&mut self)
src/librustdoc/html/markdown.rs:229
↓ 52 callersMethodopt_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 callersMethodpush
(&mut self, v: V)
compiler/rustc_data_structures/src/unord.rs:309
↓ 52 callersMethodrecv
(&self, buf: &mut [u8])
library/std/src/net/udp.rs:694
↓ 52 callersMethodstep_by
Advance the view by n, advancing it in-place to (n..).
library/core/src/num/dec2flt/common.rs:125
↓ 52 callersMethodtext
(&self)
src/tools/rust-analyzer/crates/syntax/src/ast/node_ext.rs:18
↓ 52 callersMethodto_vec
(s: &[Self], alloc: A)
library/alloc/src/slice.rs:119
↓ 51 callersMethodappend
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 callersMethodattrs
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 callersMethodattrs
(&self)
src/tools/rustfmt/src/modules.rs:53
↓ 51 callersMethodclone
(&self)
src/test/ui/issues/issue-46069.rs:8
↓ 51 callersMethodcloned
(&self)
src/tools/rust-analyzer/crates/hir-expand/src/lib.rs:733
↓ 51 callersMethoddebug_list
(&'b mut self)
library/core/src/fmt/mod.rs:2255
↓ 51 callersMethodextend
Combine usefulnesses from two branches. This is an associative operation.
compiler/rustc_mir_build/src/thir/pattern/usefulness.rs:576
↓ 51 callersMethodinsert
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
← previousnext →801–900 of 93,053, ranked by callers