MCPcopy Create free account

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

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

↓ 65 callersMethodget_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 callersMethodinto_inner
(self)
library/std/src/os/linux/process.rs:67
↓ 65 callersMethodpush
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 callersMethodto_owned
(&self)
src/tools/clippy/tests/ui/unnecessary_to_owned.rs:286
↓ 65 callersFunctionuninit
()
src/test/ui/nll/ty-outlives/wf-unreachable.rs:4
↓ 64 callersMethodalternate
(&self)
library/core/src/fmt/mod.rs:1899
↓ 64 callersMethodargs
(&mut self, args: I)
src/bootstrap/builder.rs:2278
↓ 64 callersMethodas_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 callersMethodas_slice
(&self)
src/tools/miri/src/concurrency/vector_clock.rs:72
↓ 64 callersMethodcheck
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 callersMethodends_with
(&self, needle: &str)
src/bootstrap/config.rs:385
↓ 64 callersMethodget
( &self, metadata: M, i: I, )
compiler/rustc_metadata/src/rmeta/table.rs:321
↓ 64 callersFunctionin_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 callersMethoditer
(&self)
src/tools/rust-analyzer/crates/ide-assists/src/handlers/extract_function.rs:379
↓ 64 callersMethodkrate
(&self, db: &RootDatabase)
src/tools/rust-analyzer/crates/ide-db/src/defs.rs:50
↓ 64 callersMethodlookup_char_pos
Looks up source information about a `BytePos`.
compiler/rustc_span/src/source_map.rs:426
↓ 64 callersMethodor_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 callersFunctionover
Checks if two slices are equal as per `eq_fn`.
src/tools/clippy/clippy_utils/src/hir_utils.rs:530
↓ 64 callersMethodprimitive
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 callersMethodunwrap
(self)
src/test/ui/consts/stable-precise-live-drops-in-libcore.rs:13
↓ 63 callersMethodcancel
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 callersFunctionclone
EMIT_MIR inline_shims.clone.Inline.diff
src/test/mir-opt/inline/inline-shims.rs:5
↓ 63 callersMethodcloned
(self)
library/core/src/option.rs:1780
↓ 63 callersMethodcompare_exchange_weak
even without panics, this helps for Miri backtraces
library/core/src/sync/atomic.rs:673
↓ 63 callersMethodcompiler
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 callersMethoddef_map
(&self, db: &dyn db::DefDatabase)
src/tools/rust-analyzer/crates/hir-def/src/lib.rs:104
↓ 63 callersMethodget_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 callersMethodinsert
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 callersMethodinto
(self)
src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_63/proc_macro/bridge/rpc.rs:269
↓ 63 callersMethodis_empty
(&self)
compiler/rustc_mir_build/src/thir/pattern/usefulness.rs:380
↓ 63 callersMethodis_err
(&self)
src/tools/clippy/tests/ui/nonminimal_bool_methods.rs:51
↓ 63 callersMethodmk_substs_trait
(self, self_ty: Ty<'tcx>, rest: &[GenericArg<'tcx>])
compiler/rustc_middle/src/ty/context.rs:2801
↓ 63 callersMethodor_else
(self, if_other: F)
compiler/rustc_borrowck/src/diagnostics/mod.rs:656
↓ 63 callersMethodregister_removed
(&mut self, name: &str, reason: &str)
compiler/rustc_lint/src/context.rs:305
↓ 63 callersMethodrelate
(self, expected: T, variance: ty::Variance, actual: T)
compiler/rustc_infer/src/infer/at.rs:175
↓ 63 callersFunctionreplace
( 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 callersMethodreverse
(self)
library/core/src/cmp.rs:496
↓ 63 callersMethodshallow_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 callersMethodtcx
(&self)
src/librustdoc/html/render/context.rs:147
↓ 63 callersMethodto_def
(&self, src: &T)
src/tools/rust-analyzer/crates/hir/src/semantics.rs:440
↓ 63 callersMethodto_string
(self)
src/test/debuginfo/embedded-visualizer.py:11
↓ 63 callersMethodtype_dependent_def_id
(&self, id: HirId)
compiler/rustc_middle/src/ty/context.rs:645
↓ 63 callersMethodvisibility
(&self, db: &RootDatabase)
src/tools/rust-analyzer/crates/ide-db/src/defs.rs:81
↓ 62 callersMethodas_adt
(&self)
src/tools/rust-analyzer/crates/hir/src/lib.rs:3279
↓ 62 callersFunctioncheck_fix
(ra_fixture_before: &str, ra_fixture_after: &str)
src/tools/rust-analyzer/crates/ide-diagnostics/src/tests.rs:21
↓ 62 callersMethodcrate_graph
Build a search scope spanning the entire crate graph of files.
src/tools/rust-analyzer/crates/ide-db/src/search.rs:93
↓ 62 callersMethodfinish
(self)
compiler/rustc_serialize/src/opaque.rs:28
↓ 62 callersMethodinsert
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 callersFunctionint
(x: u64)
src/test/codegen/function-arguments.rs:66
↓ 62 callersMethoditer
(&self)
library/std/src/sync/mpsc/mod.rs:1408
↓ 62 callersMethodlen
Amount of files currently stored. Note that this includes deleted files.
src/tools/rust-analyzer/crates/vfs/src/lib.rs:118
↓ 62 callersMethodmirror_expr
(&mut self, expr: &'tcx hir::Expr<'tcx>)
compiler/rustc_mir_build/src/thir/cx/expr.rs:26
↓ 62 callersMethodrecv
Receive the next value
src/test/ui/async-await/auxiliary/issue-72470-lib.rs:139
↓ 62 callersMethodsess
(&self)
compiler/rustc_codegen_llvm/src/context.rs:547
↓ 62 callersMethodstore
(self, _ordering: Ordering)
src/test/ui/lint/lint-invalid-atomic-ordering-false-positive.rs:10
↓ 61 callersFunctionchannel
(size: usize)
src/test/ui/issues/issue-41677.rs:22
↓ 61 callersFunctioncheck
(ra_fixture: &str, expect: Expect)
src/tools/rust-analyzer/crates/ide/src/references.rs:1091
↓ 61 callersMethodexpect
(&mut self, cond: Self::Value, _expected: bool)
compiler/rustc_codegen_gcc/src/intrinsic/mod.rs:354
↓ 61 callersMethodget
(&self)
library/core/src/cell.rs:449
↓ 61 callersMethodget
(&self)
compiler/rustc_codegen_gcc/example/dst-field-align.rs:13
↓ 61 callersMethodis_box
(self)
compiler/rustc_middle/src/ty/adt.rs:334
↓ 61 callersMethodis_file
(&self)
library/std/src/fs.rs:1145
↓ 61 callersMethodlen
(&self)
library/std/src/fs.rs:1191
↓ 61 callersMethodmap
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 callersMethodmax
(self, other: AbiAndPrefAlign)
compiler/rustc_target/src/abi/mod.rs:609
↓ 61 callersMethodoffset_left
(&self, width: usize)
src/tools/rustfmt/src/shape.rs:253
↓ 61 callersFunctionv
(*args)
src/bootstrap/configure.py:30
↓ 61 callersMethodvisit_span
(&mut self, _sp: &mut Span)
compiler/rustc_ast/src/mut_visit.rs:285
↓ 60 callersFunctioncreate_dir_all
(path: P)
library/std/src/fs.rs:2198
↓ 60 callersMethodentry
(&self, ptr: &EntryPtr)
src/tools/rust-analyzer/crates/tt/src/buffer.rs:112
↓ 60 callersMethodfold_with
(&self, folder: &mut F)
compiler/rustc_mir_build/src/thir/pattern/mod.rs:702
↓ 60 callersMethodis_dir
(&self)
src/test/ui/issues/issue-20797.rs:11
↓ 60 callersMethodis_empty
(&self)
compiler/rustc_ast_pretty/src/pp/ring.rs:25
↓ 60 callersMethodsplit_at
(&self, mid: usize)
library/core/src/str/mod.rs:672
↓ 60 callersMethodto_string
(&self)
src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_63/ra_server.rs:204
↓ 60 callersFunctionunsupported
()
library/std/src/sys/hermit/mod.rs:64
↓ 60 callersMethodunwrap
(self)
src/test/rustdoc/auxiliary/issue-99734-aux.rs:3
↓ 59 callersMethodas_slice
(&self)
src/tools/rust-analyzer/crates/hir-ty/src/diagnostics/match_check/deconstruct_pat.rs:349
↓ 59 callersMethodbody
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 callersMethodchar_indices
(&self)
library/core/src/str/mod.rs:839
↓ 59 callersFunctioncheck_no_mismatches
(ra_fixture: &str)
src/tools/rust-analyzer/crates/hir-ty/src/tests.rs:72
↓ 59 callersMethodfinish
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 callersMethodinsert
(&mut self, k: K, v: V)
library/std/src/collections/hash/map.rs:1103
↓ 59 callersMethodlen
(&self)
src/tools/rust-analyzer/crates/project-model/src/workspace.rs:47
↓ 59 callersMethodpush_front
(&mut self, elt: T)
library/alloc/src/collections/linked_list.rs:793
↓ 59 callersFunctionset_var
(key: K, value: V)
library/std/src/env.rs:347
↓ 59 callersMethodtcx
(&self)
compiler/rustc_hir_analysis/src/check/dropck.rs:243
↓ 59 callersMethodword_nbsp
(&mut self, w: S)
compiler/rustc_ast_pretty/src/helpers.rs:34
↓ 58 callersMethodand
(&mut self, a: RValue<'gcc>, b: RValue<'gcc>)
compiler/rustc_codegen_gcc/src/builder.rs:570
↓ 58 callersMethodand
Reduce `self` and `constness` to two possible combined states instead of four.
compiler/rustc_middle/src/ty/mod.rs:296
↓ 58 callersMethodany
(tcx: TyCtxt<'tcx>, iter: impl IntoIterator<Item = Self>)
compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:83
↓ 58 callersMethodas_ref
(&self)
library/std/src/ffi/os_str.rs:1305
↓ 58 callersMethoddebug_tuple
(&'b mut self, name: &str)
library/core/src/fmt/mod.rs:2130
↓ 58 callersMethodfind
(&self, _: HirId)
compiler/rustc_hir/src/intravisit.rs:121
↓ 58 callersMethodnode_type
(&self, id: hir::HirId)
compiler/rustc_middle/src/ty/context.rs:703
↓ 58 callersMethodremove
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 callersMethodres
(self)
compiler/rustc_resolve/src/lib.rs:338
↓ 58 callersMethodresolve_vars_if_possible
(&self, value: T)
compiler/rustc_hir_typeck/src/mem_categorization.rs:128
↓ 58 callersMethodself_ty
(self, db: &dyn HirDatabase)
src/tools/rust-analyzer/crates/hir/src/lib.rs:2730
↓ 58 callersMethodsess
(&self)
compiler/rustc_lint/src/levels.rs:509
← previousnext →701–800 of 93,053, ranked by callers