MCPcopy Create free account

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

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

↓ 92 callersMethodok
(&self)
src/tools/clippy/tests/ui/zero_sized_hashmap_values.rs:34
↓ 92 callersMethodor_default
(self)
compiler/rustc_data_structures/src/sso/map.rs:554
↓ 92 callersMethodstore
(&self, filename: &Path)
src/tools/miri/cargo-miri/src/util.rs:64
↓ 92 callersMethodto_string
(&self)
src/test/ui/specialization/min_specialization/issue-79224.rs:13
↓ 91 callersMethoditer
(&self)
src/tools/rust-analyzer/crates/ide-db/src/search.rs:37
↓ 91 callersMethodjoin
(slice: &Self, sep: &OsStr)
library/std/src/ffi/os_str.rs:1268
↓ 91 callersMethodlen
(&self)
library/alloc/src/collections/vec_deque/mod.rs:1163
↓ 91 callersMethodsyntax
(&self)
src/tools/rust-analyzer/crates/hir-expand/src/lib.rs:952
↓ 90 callersFunctionident_path
(ident: &str)
src/tools/rust-analyzer/crates/syntax/src/ast/make.rs:31
↓ 90 callersFunctionop
(foo: Bar, key : &[u8], upd : Fn(Option<&memcache::Item> , Baz ) -> Result)
src/tools/rustfmt/tests/source/paths.rs:25
↓ 90 callersMethodoutput
(&self)
compiler/rustc_middle/src/ty/sty.rs:1218
↓ 90 callersMethodpush
(&mut self, undo: T)
compiler/rustc_infer/src/infer/undo_log.rs:114
↓ 90 callersMethodresume
(mut self: Pin<&mut Self>, _args: ())
src/test/ui/generator/issue-68112.rs:14
↓ 90 callersMethodtcx
(&self)
compiler/rustc_trait_selection/src/traits/select/mod.rs:260
↓ 90 callersFunctiontmpdir
()
library/std/src/sys_common/io.rs:42
↓ 90 callersMethodwith_lo
(&self, lo: BytePos)
compiler/rustc_span/src/lib.rs:476
↓ 89 callersMethodfields
(self, ctx: &CompletionContext<'_>)
src/tools/rust-analyzer/crates/ide-completion/src/render/literal.rs:143
↓ 89 callersMethodinto_tcx
(self, tcx: TyCtxt<'_>)
src/librustdoc/json/conversions.rs:128
↓ 89 callersMethodload
()
src/test/ui/traits/cache-issue-18209.rs:11
↓ 89 callersMethodpush
Returns a new stack with an element of top.
compiler/rustc_expand/src/mbe/macro_check.rs:144
↓ 89 callersMethodsort_by_key
(&mut self, mut f: F)
library/alloc/src/slice.rs:300
↓ 89 callersFunctionwalk_expr
Preorder walk all the expression's child expressions.
src/tools/rust-analyzer/crates/ide-db/src/syntax_helpers/node_ext.rs:30
↓ 88 callersFunctionby_val
(e: E)
src/test/ui/pattern/usefulness/non-exhaustive-defined-here.rs:36
↓ 88 callersMethodcurrent_dir
(&mut self, dir: &Path)
src/bootstrap/builder.rs:2301
↓ 88 callersMethodparse
Gets the syntax tree of the file.
src/tools/rust-analyzer/crates/ide/src/lib.rs:264
↓ 88 callersMethodparse
(&self)
src/test/ui/issues/issue-2590.rs:10
↓ 88 callersMethodstruct_span_lint
Emit a lint at the appropriate level, with an associated span. Return value of the `decorate` closure is ignored, see [`struct_lint_level`] for a det
compiler/rustc_lint/src/context.rs:911
↓ 87 callersMethodall
()
compiler/rustc_session/src/config.rs:213
↓ 87 callersMethodas_ptr
(&self)
src/test/ui/typeck/issue-65611.rs:33
↓ 87 callersMethodclone
(&self)
library/alloc/tests/vec.rs:2251
↓ 87 callersMethodget_unchecked
(&self, i: I)
library/core/src/str/mod.rs:507
↓ 87 callersMethoditer
Iterator over types and const params of self, then parent.
src/tools/rust-analyzer/crates/hir-ty/src/utils.rs:199
↓ 87 callersFunctionread_to_string
(path: P)
library/std/src/fs.rs:288
↓ 87 callersMethodsplitn
(&'a self, n: usize, pat: P)
library/core/src/str/mod.rs:1574
↓ 87 callersMethodstruct_err
( &self, msg: impl Into<DiagnosticMessage>, )
compiler/rustc_errors/src/lib.rs:801
↓ 86 callersMethodextend_from_slice
(&mut self, other: &[T])
library/alloc/src/vec/mod.rs:2391
↓ 86 callersMethodinfer_ctxt
(self)
compiler/rustc_infer/src/infer/mod.rs:563
↓ 86 callersMethodkind
(&self)
src/tools/rust-analyzer/crates/ide-assists/src/handlers/extract_function.rs:416
↓ 86 callersMethodqpath_res
Returns the final resolution of a `QPath`, or `Res::Err` if unavailable. Unlike `.typeck_results().qpath_res(qpath, id)`, this can be used even outsid
compiler/rustc_lint/src/context.rs:1078
↓ 86 callersMethodresolve_vars_if_possible
Where possible, replaces type/const variables in `value` with their final value. Note that region variables are unaffected. If a type/const variable h
compiler/rustc_infer/src/infer/mod.rs:1417
↓ 86 callersMethodset
(&mut self, v: String)
src/test/ui/nll/get_default.rs:11
↓ 86 callersMethodsnippet
(&self, span: Span)
src/tools/rustfmt/src/rewrite.rs:66
↓ 85 callersMethodas_deref
(&self)
compiler/rustc_middle/src/ty/sty.rs:1024
↓ 85 callersMethodclone
(&self)
src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_63/proc_macro/bridge/client.rs:200
↓ 85 callersFunctionempty
()
src/tools/rust-analyzer/crates/ide-completion/src/tests/attribute.rs:907
↓ 85 callersMethodensure
Ensure that the set can hold at least `min_domain_size` elements.
compiler/rustc_index/src/bit_set.rs:1502
↓ 85 callersMethodmap
(x: U)
src/test/ui/issues/issue-69306.rs:40
↓ 85 callersFunctionmetadata
(path: P)
library/std/src/fs.rs:1825
↓ 85 callersMethodpath
single, non-aliased path
src/bootstrap/builder.rs:451
↓ 85 callersMethodremove
(&mut self, index: I)
compiler/rustc_index/src/vec.rs:307
↓ 85 callersMethodsess
(mut self, sess: &'a ParseSess)
src/tools/rustfmt/src/parse/parser.rs:42
↓ 85 callersFunctionspan_lint
(cx: &LateContext<'_>, span: Span)
src/tools/clippy/clippy_lints/src/use_self.rs:304
↓ 85 callersMethodto_string
(&self, tcx: TyCtxt<'tcx>)
compiler/rustc_middle/src/ty/closure.rs:159
↓ 84 callersMethoddiagnostic
(&self)
compiler/rustc_session/src/session.rs:607
↓ 84 callersFunctionfrom_ptr
()
src/test/ui/mir/mir_misc_casts.rs:7
↓ 84 callersMethodinto
(self)
library/std/src/sys/windows/process.rs:680
↓ 84 callersMethoditer
(&self)
compiler/rustc_session/src/config.rs:511
↓ 84 callersMethodlog
(&self, f: impl FnOnce())
src/tools/rust-analyzer/crates/hir-ty/src/test_db.rs:130
↓ 84 callersFunctionremove_file
(path: P)
library/std/src/fs.rs:1787
↓ 84 callersMethodstore
even without panics, this helps for Miri backtraces
library/core/src/sync/atomic.rs:481
↓ 83 callersMethodcount
Count the number of set bits in the set.
compiler/rustc_index/src/bit_set.rs:154
↓ 83 callersMethoditer_mut
(&mut self)
compiler/rustc_index/src/vec.rs:182
↓ 83 callersMethodlen
(&self)
compiler/rustc_middle/src/ty/list.rs:65
↓ 83 callersMethodpush
(&mut self, value: T)
compiler/rustc_ast_pretty/src/pp/ring.rs:29
↓ 83 callersMethodpush_span_label
(&mut self, span: Span, label: impl Into<DiagnosticMessage>)
compiler/rustc_error_messages/src/lib.rs:455
↓ 83 callersMethodsend
~ ERROR expected trait, found enum `Chan`
src/test/ui/resolve/issue-2330.rs:9
↓ 82 callersMethodis_empty
(&self)
src/tools/rust-analyzer/crates/cfg/src/lib.rs:116
↓ 82 callersMethodpush_back
(&mut self, value: T)
library/alloc/src/collections/vec_deque/mod.rs:1575
↓ 81 callersMethodassume_init
(self)
library/alloc/src/rc.rs:776
↓ 81 callersFunctionearly_error
(output: config::ErrorOutputType, msg: &str)
compiler/rustc_session/src/session.rs:1572
↓ 81 callersMethodfile_name
(&self)
src/tools/rustfmt/src/config/file_lines.rs:78
↓ 81 callersMethodpeek
Borrows the query result using the RefCell. Panics if the result is stolen.
compiler/rustc_interface/src/queries.rs:50
↓ 81 callersMethodread_immediate
( &self, op: &OpTy<'tcx, M::Provenance>, )
compiler/rustc_const_eval/src/interpret/operand.rs:381
↓ 81 callersMethodrequire_lang_item
Returns the `DefId` for a given `LangItem`. If not found, fatally aborts compilation.
compiler/rustc_middle/src/middle/lang_items.rs:20
↓ 80 callersMethodeval_libc
Helper function to get a `libc` constant as a `Scalar`.
src/tools/miri/src/helpers.rs:125
↓ 80 callersFunctionforget
(t: T)
library/core/src/mem/mod.rs:153
↓ 80 callersMethodinsert
Adds a `UniqueTypeId` to metadata mapping to the `TypeMap`. The method will fail if the mapping already exists.
compiler/rustc_codegen_llvm/src/debuginfo/metadata/type_map.rs:131
↓ 80 callersMethodmap
(self, f: impl FnOnce(T) -> U)
compiler/rustc_infer/src/infer/error_reporting/nice_region_error/placeholder_error.rs:336
↓ 80 callersMethodmodule
(&self, db: &RootDatabase)
src/tools/rust-analyzer/crates/ide-db/src/defs.rs:57
↓ 80 callersMethodpeel_refs
(mut self)
src/tools/clippy/clippy_utils/src/consts.rs:201
↓ 80 callersMethodsort_by
(&mut self, mut compare: F)
library/alloc/src/slice.rs:258
↓ 80 callersFunctionwith
(f: F)
compiler/rustc_middle/src/ty/context.rs:1980
↓ 79 callersMethodabs
(self)
library/std/src/f64.rs:155
↓ 79 callersMethodclear
(&mut self)
compiler/rustc_index/src/bit_set.rs:144
↓ 79 callersMethodclone
(&self)
compiler/rustc_expand/src/mbe/macro_rules.rs:923
↓ 79 callersMethodjoin
(&self, path: &str)
library/std/src/sys_common/io.rs:17
↓ 79 callersFunctionnew
()
src/test/ui/traits/alias/issue-75983.rs:11
↓ 79 callersMethodpush
(&mut self, path: P)
library/std/src/path.rs:1271
↓ 79 callersFunctionspan_lint
(cx: &EarlyContext<'_>, span: Span, only_one: bool)
src/tools/clippy/clippy_lints/src/misc_early/unneeded_wildcard_pattern.rs:38
↓ 79 callersFunctiont
(lg: LangString)
src/librustdoc/html/markdown/tests.rs:47
↓ 79 callersFunctionwrite
()
src/test/ui/mir/mir-inlining/ice-issue-77306-1.rs:7
↓ 78 callersMethodas_ref
(&self)
src/bootstrap/cache.rs:99
↓ 78 callersMethoditem_name
Look up the name of a definition across crates. This does not look at HIR. This method will ICE if the corresponding item does not have a name. In t
compiler/rustc_middle/src/ty/mod.rs:2299
↓ 78 callersMethodlen
(&self)
compiler/rustc_borrowck/src/borrow_set.rs:155
↓ 78 callersMethodstruct_span_lint_hir
Emit a lint at the appropriate level for a hir node, with an associated span. Return value of the `decorate` closure is ignored, see [`struct_lint_le
compiler/rustc_middle/src/ty/context.rs:2833
↓ 77 callersMethodcheck
Panics if the map is corrupted or if the keys are not in strictly ascending order, in the current opinion of the `Ord` implementation. If the `Ord` im
library/alloc/src/collections/btree/map/tests.rs:72
↓ 77 callersMethodclone
(&self)
src/tools/miri/src/concurrency/vector_clock.rs:128
↓ 77 callersMethodsource
(&'a self, edge: &Edge<'a>)
src/tools/rust-analyzer/crates/ide/src/view_crate_graph.rs:68
↓ 77 callersMethodto_smol_str
Returns the textual representation of this name as a [`SmolStr`]. Prefer using this over [`ToString::to_string`] if possible as this conversion is che
src/tools/rust-analyzer/crates/hir-expand/src/name.rs:56
↓ 76 callersFunctionabort
()
library/std/src/process.rs:2118
← previousnext →501–600 of 93,053, ranked by callers