MCPcopy Create free account

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

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

↓ 76 callersMethodas_mut_ptr
(&mut self)
library/alloc/src/vec/mod.rs:1271
↓ 76 callersMethoditer
Iterate over the contained ranges.
src/tools/rust-analyzer/crates/hir-ty/src/diagnostics/match_check/deconstruct_pat.rs:245
↓ 76 callersMethodmap
( &mut self, )
compiler/rustc_infer/src/traits/project.rs:145
↓ 76 callersFunctionmax
(v1: T, v2: T)
library/core/src/cmp.rs:1292
↓ 75 callersMethodas_usize
(self)
library/core/src/ptr/alignment.rs:95
↓ 75 callersMethodbytes
(&self)
library/core/src/str/mod.rs:864
↓ 75 callersFunctionchannel
()
library/std/src/sync/mpsc/mod.rs:713
↓ 75 callersMethoddef_id
This function is used to extract a `DefId` to be used as a key for the `Cache::impls` field. It allows to prevent having duplicated implementations s
src/librustdoc/formats/mod.rs:51
↓ 75 callersMethodget
(&self, id: hir::HirId)
compiler/rustc_middle/src/ty/context.rs:332
↓ 75 callersMethodinfo
(&self)
src/bootstrap/channel.rs:76
↓ 75 callersMethodinto_iter
(self)
compiler/rustc_target/src/spec/mod.rs:857
↓ 75 callersMethodlen
(&self)
compiler/rustc_errors/src/snippet.rs:121
↓ 75 callersMethodsplit
Divides the closure substs into their respective components. The ordering assumed here must match that used by `ClosureSubsts::new` above.
compiler/rustc_middle/src/ty/sty.rs:254
↓ 75 callersFunctionstdout
()
src/tools/clippy/tests/ui/explicit_write.rs:6
↓ 75 callersMethodto_node
(&self, db: &dyn db::AstDatabase)
src/tools/rust-analyzer/crates/hir-expand/src/lib.rs:404
↓ 75 callersMethodto_string_with_newline
(&self, config: &Config)
src/tools/rustfmt/src/shape.rs:72
↓ 74 callersMethodinto_boxed_slice
(boxed: Self)
library/alloc/src/boxed.rs:591
↓ 74 callersMethodposition
(self)
src/tools/clippy/tests/ui/auxiliary/option_helpers.rs:32
↓ 74 callersMethodpush
(&mut self, s: &str)
compiler/rustc_symbol_mangling/src/v0.rs:107
↓ 74 callersFunctionspan_lint_and_help
Same as `span_lint` but with an extra `help` message. Use this if you want to provide some general help but can't provide a specific machine applicab
src/tools/clippy/clippy_utils/src/diagnostics.rs:75
↓ 74 callersMethodto_path_buf
Equivalent of [`Path::to_path_buf`] for `AbsPath`.
src/tools/rust-analyzer/crates/paths/src/lib.rs:165
↓ 74 callersMethodto_vec
(&self)
compiler/rustc_middle/src/middle/mod.rs:17
↓ 74 callersFunctionunsupported
This function is used to implement functionality that simply doesn't exist. Programs relying on this functionality will need to deal with the error.
library/std/src/sys/sgx/mod.rs:62
↓ 74 callersMethodupcast
(&self)
src/tools/rust-analyzer/crates/hir-def/src/test_db.rs:44
↓ 73 callersMethodcast
(self)
library/core/src/ptr/unique.rs:136
↓ 73 callersFunctioncheck
(new_name: &str, ra_fixture_before: &str, ra_fixture_after: &str)
src/tools/rust-analyzer/crates/ide/src/rename.rs:341
↓ 73 callersMethodcode
(&mut self, s: DiagnosticId)
compiler/rustc_errors/src/diagnostic.rs:870
↓ 73 callersMethodcontains
(&self, elem: A::Idx)
compiler/rustc_mir_dataflow/src/framework/cursor.rs:220
↓ 73 callersMethoddef_id
(self)
compiler/rustc_middle/src/ty/mod.rs:854
↓ 73 callersFunctionf
(b: &mut i32)
src/test/ui/borrowck/mut-borrow-of-mut-ref.rs:4
↓ 73 callersMethodfirst
Peeks the next symbol from the input stream without consuming it. If requested position doesn't exist, `EOF_CHAR` is returned. However, getting `EOF_C
compiler/rustc_lexer/src/cursor.rs:45
↓ 73 callersMethodhir_id
(&self)
src/tools/clippy/clippy_utils/src/macros.rs:1048
↓ 73 callersMethodnext
(&self, s: &'static str)
src/tools/clippy/clippy_lints/src/utils/author.rs:214
↓ 73 callersMethodset
(max_width: usize)
src/tools/rustfmt/src/config/options.rs:261
↓ 73 callersMethodsplit_once
(&'a self, delimiter: P)
library/core/src/str/mod.rs:1643
↓ 73 callersMethodsub_width
(&self, width: usize)
src/tools/rustfmt/src/shape.rs:238
↓ 73 callersMethodto_str
(self)
compiler/rustc_errors/src/lib.rs:1664
↓ 73 callersMethodvariants
(self)
compiler/rustc_middle/src/ty/adt.rs:173
↓ 72 callersMethodas_mut
(&mut self)
compiler/rustc_middle/src/mir/basic_blocks.rs:64
↓ 72 callersMethoderase_regions
Returns an equivalent value with all free regions removed (note that late-bound regions remain, because they are important for subtyping, but they are
compiler/rustc_middle/src/ty/erase_regions.rs:19
↓ 72 callersMethodfold
Fold the cfg by querying all basic `Atom` and `KeyValue` predicates.
src/tools/rust-analyzer/crates/cfg/src/cfg_expr.rs:73
↓ 72 callersMethodget
(&self)
library/std/src/sync/poison.rs:48
↓ 72 callersMethodinsert
(&mut self, _: i32)
src/test/ui/nll/lint-no-err.rs:13
↓ 72 callersMethodinto
(self)
compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs:46
↓ 72 callersFunctionnew
NOTE: the pub(crate) here is critical
src/test/ui/type-alias-impl-trait/auxiliary/collect_hidden_types.rs:13
↓ 72 callersMethodnext
(&self)
compiler/rustc_ast_pretty/src/pprust/state.rs:68
↓ 71 callersMethodand_then
(self, f: F)
library/core/src/option.rs:1258
↓ 71 callersMethodas_ref
(&self)
src/tools/rustfmt/src/lists.rs:106
↓ 71 callersFunctionast_from_text
(text: &str)
src/tools/rust-analyzer/crates/syntax/src/ast/make.rs:821
↓ 71 callersMethodclone
(&self)
library/alloc/src/collections/btree/map.rs:207
↓ 71 callersMethodemit
Annotate the provided diagnostic with information about borrow from the fn signature that helps explain.
compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs:2633
↓ 71 callersMethodinfcx
(&self)
compiler/rustc_trait_selection/src/traits/select/mod.rs:256
↓ 71 callersMethodis_empty
(&self)
compiler/rustc_middle/src/ty/mod.rs:1255
↓ 71 callersMethodis_empty
(&self)
src/tools/rust-analyzer/crates/ide-db/src/search.rs:29
↓ 71 callersMethodname_ref
(&self)
src/tools/rust-analyzer/crates/syntax/src/ast/generated/nodes.rs:57
↓ 71 callersMethodpath
(&self)
src/tools/clippy/clippy_lints/src/utils/conf.rs:50
↓ 71 callersMethodscope
Returns a `ModuleScope`: a set of items, visible in this module.
src/tools/rust-analyzer/crates/hir/src/lib.rs:488
↓ 70 callersFunctioncb
(data: libc::uintptr_t)
src/test/ui/abi/extern/auxiliary/extern-crosscrate-source.rs:26
↓ 70 callersMethodsegments
(&self)
src/tools/rust-analyzer/crates/hir-def/src/path.rs:113
↓ 70 callersMethodto_machine_usize
Converts the scalar to produce a machine-pointer-sized unsigned integer. Fails if the scalar is a pointer.
compiler/rustc_middle/src/mir/interpret/value.rs:431
↓ 70 callersMethodto_string
(&self, _location_table: &LocationTable)
compiler/rustc_borrowck/src/facts.rs:203
↓ 69 callersMethodas_ref
(&self)
library/std/src/path.rs:567
↓ 69 callersMethodcontains
Checks whether a type recursively contains another type Example: `Option<()>` contains `()`
compiler/rustc_middle/src/ty/sty.rs:1892
↓ 69 callersMethodcontains_key
(&mut self, k: &Q)
src/tools/miri/src/mono_hash_map.rs:42
↓ 69 callersMethodhas_attr
Determines whether an item is annotated with an attribute.
compiler/rustc_middle/src/ty/mod.rs:2496
↓ 69 callersMethodinto_iter
(self)
library/alloc/src/vec/mod.rs:2783
↓ 69 callersFunctionsnippet
Converts a span to a code snippet if available, otherwise returns the default. This is useful if you want to provide suggestions for your lint or mor
src/tools/clippy/clippy_utils/src/source.rs:176
↓ 69 callersMethodspan
(&self, start_pos: usize, end_pos: usize)
compiler/rustc_parse_format/src/lib.rs:387
↓ 68 callersMethodas_ptr
(&self)
library/alloc/src/vec/mod.rs:1234
↓ 68 callersMethodcast
(self)
src/tools/rust-analyzer/crates/syntax/src/lib.rs:118
↓ 68 callersMethodcontains_range
(&self, range: TextRange)
src/tools/rust-analyzer/crates/ide-assists/src/handlers/extract_function.rs:677
↓ 68 callersFunctionexpr_path
(path: ast::Path)
src/tools/rust-analyzer/crates/syntax/src/ast/make.rs:373
↓ 68 callersMethodextend
(&mut self, data: &[u8], filter_paths_from_len: &[String])
src/tools/compiletest/src/read2.rs:50
↓ 68 callersFunctionfrom_raw_parts_mut
(data: *mut T, len: usize)
library/core/src/slice/raw.rs:137
↓ 68 callersMethodor_default
Ensures a value is in the entry by inserting the default value if empty, and returns a mutable reference to the value in the entry.
src/tools/rust-analyzer/lib/la-arena/src/map.rs:189
↓ 68 callersMethodsegment
(&self)
src/tools/rust-analyzer/crates/syntax/src/ast/generated/nodes.rs:48
↓ 68 callersMethodtake
(&self)
library/core/src/cell.rs:566
↓ 68 callersMethodtcx
(&'a self)
compiler/rustc_middle/src/ty/print/pretty.rs:1680
↓ 67 callersMethodclone
Clone a sender to send to other threads. Note, be aware of the lifetime of the sender because all senders (including the original) need to be dropped
library/std/src/sync/mpsc/mod.rs:849
↓ 67 callersMethodcontains
Returns `true` if the region `r` contains the given element.
compiler/rustc_borrowck/src/region_infer/values.rs:156
↓ 67 callersMethodends_with
(&self, child: P)
library/std/src/path.rs:2332
↓ 67 callersMethodget
(&self)
library/std/src/sys/unix/weak.rs:64
↓ 67 callersMethodparent
(self)
compiler/rustc_span/src/lib.rs:547
↓ 67 callersMethodpat
(&self)
src/tools/rust-analyzer/crates/hir-def/src/body/scope.rs:34
↓ 67 callersMethodrepr
(self)
compiler/rustc_middle/src/ty/adt.rs:188
↓ 67 callersFunctionrun_test
(mut f: F)
src/test/ui/drop/dynamic-drop.rs:401
↓ 67 callersMethodspan
(&self)
src/tools/rustfmt/src/stmt.rs:19
↓ 67 callersMethodsuper_visit_with
(&self, visitor: &mut V)
compiler/rustc_middle/src/ty/structural_impls.rs:585
↓ 67 callersMethodvalue_str
Gets the string value if `self` is a `MetaItem` and the `MetaItem` is a `MetaItemKind::NameValue` variant containing a string, otherwise `None`.
compiler/rustc_ast/src/attr/mod.rs:77
↓ 67 callersMethodwith_value
(&self, value: U)
src/tools/rust-analyzer/crates/hir-expand/src/lib.rs:715
↓ 66 callersMethodadd_pre_link_args
(&mut self, flavor: LinkerFlavor, args: &[&'static str])
compiler/rustc_target/src/spec/mod.rs:1713
↓ 66 callersMethodas_ref
(&self)
library/std/src/sys/windows/fs.rs:705
↓ 66 callersMethodcollect
(db: &dyn HirDatabase, owner: DefWithBodyId)
src/tools/rust-analyzer/crates/hir-ty/src/diagnostics/expr.rs:48
↓ 66 callersFunctioncurrent_dir
()
library/std/src/env.rs:56
↓ 66 callersMethodlen
(&self)
compiler/rustc_index/src/vec.rs:134
↓ 66 callersMethodpush
(&mut self, value: T)
src/tools/rust-analyzer/crates/stdx/src/non_empty_vec.rs:26
↓ 66 callersMethodtrim_start
(&self)
library/core/src/str/mod.rs:1892
↓ 66 callersFunctionvar
(key: K)
library/std/src/env.rs:227
↓ 65 callersMethodclone
(&self)
library/alloc/src/rc.rs:1590
↓ 65 callersMethodfinish_non_exhaustive
(&mut self)
library/core/src/fmt/builders.rs:176
← previousnext →601–700 of 93,053, ranked by callers