MCPcopy Create free account

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

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

↓ 150 callersMethodself_ty
(self)
compiler/rustc_middle/src/ty/mod.rs:858
↓ 150 callersMethodspan_to_snippet
Returns the source snippet as `String` corresponding to the given `Span`.
compiler/rustc_span/src/source_map.rs:622
↓ 149 callersFunctioncheck
(ra_fixture: &str, expect: Expect)
src/tools/rust-analyzer/crates/ide/src/hover/tests.rs:23
↓ 149 callersMethodclone
(&self)
compiler/rustc_index/src/bit_set.rs:733
↓ 149 callersFunctionzeroed
()
library/core/src/mem/mod.rs:648
↓ 148 callersMethodjoin
(&self, other: impl AsRef<str>)
src/tools/clippy/tests/ui/unnecessary_to_owned.rs:34
↓ 148 callersMethodto_string
(&self)
src/tools/clippy/tests/ui/format_args.rs:19
↓ 148 callersMethodwrite_str
(&mut self, s: &str)
src/librustdoc/html/format.rs:74
↓ 147 callersFunctionargs
Returns args for the subcommand itself (not for cargo)
src/bootstrap/check.rs:18
↓ 147 callersMethodcollect
(self)
src/test/ui/generic-associated-types/extended/lending_iterator.rs:29
↓ 147 callersMethodexpr
(&self)
src/tools/rust-analyzer/crates/syntax/src/ast/node_ext.rs:177
↓ 147 callersMethodstrip_prefix
Equivalent of [`Path::strip_prefix`] for `AbsPath`. Returns a relative path.
src/tools/rust-analyzer/crates/paths/src/lib.rs:172
↓ 145 callersMethoditer
(&self)
compiler/rustc_index/src/vec.rs:163
↓ 144 callersMethoddelay_span_bug
( &self, span: impl Into<MultiSpan>, msg: impl Into<DiagnosticMessage>, )
compiler/rustc_errors/src/lib.rs:943
↓ 144 callersFunctionmk_sp
(lo: BytePos, hi: BytePos)
src/tools/rustfmt/src/utils.rs:348
↓ 144 callersMethodskip
(&self, len: usize)
src/tools/rust-analyzer/crates/hir-def/src/path.rs:174
↓ 143 callersMethodbits
(self)
compiler/rustc_target/src/abi/mod.rs:332
↓ 143 callersMethodclone
(&self)
src/tools/rust-analyzer/crates/rust-analyzer/src/cli/lsif.rs:30
↓ 142 callersMethodto_string
(&self)
src/tools/clippy/clippy_lints/src/returns.rs:88
↓ 142 callersMethodwith_hi
(&self, hi: BytePos)
compiler/rustc_span/src/lib.rs:480
↓ 141 callersMethodfn_sig
(self)
compiler/rustc_hir/src/hir.rs:3460
↓ 141 callersMethodoutput
Gets the result type, if one could be found. Note that the result type of a trait may not be specified.
src/tools/clippy/clippy_utils/src/ty.rs:547
↓ 139 callersMethodall
Creates a `FileLines` that contains all lines in all files.
src/tools/rustfmt/src/config/file_lines.rs:199
↓ 139 callersMethodload
even without panics, this helps for Miri backtraces
library/core/src/sync/atomic.rs:453
↓ 138 callersMethodexpect_local
(self)
compiler/rustc_span/src/def_id.rs:301
↓ 138 callersMethodinputs
(&self)
compiler/rustc_hir/src/hir.rs:341
↓ 138 callersMethodinsert
(&mut self, param: Param, id: HirId)
src/tools/clippy/clippy_lints/src/only_used_in_recursion.rs:144
↓ 138 callersMethodrebind
Wraps a `value` in a binder, using the same bound variables as the current `Binder`. This should not be used if the new value *changes the bound varia
compiler/rustc_middle/src/ty/sty.rs:1079
↓ 137 callersMethodadd
even without panics, this helps for Miri backtraces
library/core/src/ptr/mut_ptr.rs:998
↓ 137 callersMethodcontains
(self, other: Range)
src/tools/rustfmt/src/config/file_lines.rs:112
↓ 137 callersMethodfield
(&self, name: &Name)
src/tools/rust-analyzer/crates/hir-def/src/adt.rs:348
↓ 137 callersMethodinsert
Append specified `text` at the given `offset`
src/tools/rust-analyzer/crates/ide-db/src/source_change.rs:167
↓ 137 callersMethodstruct_span_err
( &self, sp: S, m: impl Into<DiagnosticMessage>, )
compiler/rustc_parse/src/parser/diagnostics.rs:251
↓ 137 callersMethodtry_into
(self)
library/core/src/convert/mod.rs:766
↓ 136 callersMethodclone
(&self)
compiler/rustc_const_eval/src/transform/check_consts/resolver.rs:275
↓ 136 callersFunctionnew
(f: u32)
src/test/run-make-fulldeps/save-analysis-fail/foo.rs:454
↓ 135 callersMethoddb
(&self)
src/tools/rust-analyzer/crates/ide-assists/src/assist_context.rs:84
↓ 135 callersMethodmap_err
(self, f: impl FnOnce(E) -> E2)
src/tools/rust-analyzer/crates/mbe/src/lib.rs:339
↓ 134 callersMethodlen
(&self)
library/std/src/io/readbuf.rs:85
↓ 134 callersMethodspace
(&mut self)
compiler/rustc_ast_pretty/src/pp/convenience.rs:54
↓ 133 callersMethoddef_kind
(self, def_id: impl IntoQueryParam<DefId>)
compiler/rustc_middle/src/ty/query.rs:383
↓ 132 callersMethoddefine
Defines `name` in namespace `ns` of module `parent` to be `def` if it is not yet defined; otherwise, reports an error.
compiler/rustc_resolve/src/build_reduced_graph.rs:85
↓ 132 callersFunctionnow
()
src/test/ui/associated-types/associated-types-normalize-unifield-struct.rs:17
↓ 131 callersFunctionc
()
src/test/ui/closure-expected-type/expect-infer-var-appearing-twice.rs:19
↓ 131 callersMethodends_with
(&self, suffix: &RelPath)
src/tools/rust-analyzer/crates/paths/src/lib.rs:178
↓ 131 callersFunctioninto_raw
()
src/tools/miri/tests/pass/box.rs:9
↓ 130 callersMethodlower_span
Intercept all spans entering HIR. Mark a span as relative to the current owning item.
compiler/rustc_ast_lowering/src/lib.rs:790
↓ 129 callersFunctioncheck_edit
(what: &str, ra_fixture_before: &str, ra_fixture_after: &str)
src/tools/rust-analyzer/crates/ide-completion/src/tests.rs:172
↓ 128 callersMethodas_local
(self)
compiler/rustc_span/src/def_id.rs:295
↓ 127 callersMethodas_mut
(self: Pin<&mut Self>)
src/tools/clippy/tests/ui/wrong_self_convention2.rs:96
↓ 127 callersMethodinto_iter
(self)
compiler/rustc_middle/src/ty/list.rs:194
↓ 127 callersMethodkind
(&self)
src/tools/rust-analyzer/crates/hir-def/src/adt.rs:352
↓ 127 callersMethodsize
(self)
compiler/rustc_target/src/asm/mod.rs:652
↓ 127 callersMethodzip
(self, other: Option<U>)
library/core/src/option.rs:1652
↓ 126 callersMethodclone
(&self)
compiler/rustc_type_ir/src/sty.rs:267
↓ 126 callersMethodinsert
(self, value: V)
library/alloc/src/collections/btree/map/entry.rs:350
↓ 126 callersMethodis_ok
(&self)
src/tools/clippy/tests/ui/nonminimal_bool_methods.rs:45
↓ 126 callersMethodstart
Starts a new node in the syntax tree. All nodes and tokens consumed between the `start` and the corresponding `Marker::complete` belong to the same no
src/tools/rust-analyzer/crates/parser/src/parser.rs:159
↓ 126 callersFunctionvar
Retrieve an environment variable and add it to build dependency info. Build system executing the compiler will know that the variable was accessed dur
src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_63/proc_macro/mod.rs:1088
↓ 125 callersMethodget
(&self, id: AttrId)
src/tools/rust-analyzer/crates/hir-def/src/attr.rs:76
↓ 125 callersMethodsuccess
(&self)
library/std/src/process.rs:1505
↓ 125 callersMethodtcx
(&self)
compiler/rustc_codegen_gcc/src/context.rs:441
↓ 125 callersMethodwrite_str
(&mut self, s: &str)
src/tools/rust-analyzer/crates/hir-ty/src/display.rs:176
↓ 124 callersMethodok_or_else
(self, err: F)
library/core/src/option.rs:1076
↓ 123 callersMethodbump
Consume the next token if `kind` matches.
src/tools/rust-analyzer/crates/parser/src/parser.rs:166
↓ 123 callersMethodexists
Returns `true` if the change is not [`Delete`](ChangeKind::Delete).
src/tools/rust-analyzer/crates/vfs/src/lib.rs:92
↓ 123 callersMethodfeatures
(self)
compiler/rustc_middle/src/ty/context.rs:1364
↓ 123 callersFunctionis_type_diagnostic_item
Checks if the type is equal to a diagnostic item. To check if a type implements a trait marked with a diagnostic item use [`implements_trait`]. For a
src/tools/clippy/clippy_utils/src/ty.rs:309
↓ 123 callersMethodmap_bound
(self, f: F)
compiler/rustc_middle/src/ty/sty.rs:1046
↓ 123 callersMethodtype_at
(&self, i: usize)
compiler/rustc_middle/src/ty/subst.rs:378
↓ 123 callersFunctionzip
(a: A, b: B)
library/core/src/iter/adapters/zip.rs:66
↓ 122 callersMethodget
Get the current span, skipping non-local frames. This function is backed by a cache, and can be assumed to be very fast.
src/tools/miri/src/helpers.rs:969
↓ 122 callersFunctionspan_lint_and_then
Like `span_lint` but allows to add notes, help and suggestions using a closure. If you need to customize your lint output a lot, use this function. I
src/tools/clippy/clippy_utils/src/diagnostics.rs:140
↓ 122 callersFunctionspawn
(_: F)
src/test/ui/traits/negative-impls/negated-auto-traits-rpass.rs:13
↓ 122 callersFunctiontake
(dest: &mut T)
library/core/src/mem/mod.rs:845
↓ 121 callersMethodlen
(&self)
src/tools/rust-analyzer/crates/ide-db/src/search.rs:33
↓ 121 callersMethodpush
(&mut self, candidate: CandidateAssignment<'tcx>)
compiler/rustc_mir_transform/src/dest_prop.rs:244
↓ 121 callersMethodtext_range
(&self)
src/tools/rust-analyzer/crates/syntax/src/ptr.rs:65
↓ 120 callersMethodas_deref
(&self)
library/core/src/option.rs:1103
↓ 120 callersMethodborrow
(&self)
compiler/rustc_data_structures/src/sync.rs:433
↓ 120 callersMethodclone
(&self)
compiler/rustc_middle/src/ty/context.rs:2125
↓ 120 callersFunctiononce
(f: F)
src/tools/miri/tests/pass/closures.rs:25
↓ 120 callersMethodset
Sets the `index`th bit.
compiler/rustc_index/src/bit_set.rs:2057
↓ 120 callersMethodspan_err
( &self, span: impl Into<MultiSpan>, msg: impl Into<DiagnosticMessage>, )
compiler/rustc_errors/src/lib.rs:902
↓ 119 callersMethodancestors
(&self)
library/std/src/path.rs:2204
↓ 119 callersFunctionf
(_x: ())
src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0035_weird_exprs.rs:21
↓ 119 callersMethodhir_id
(&self)
compiler/rustc_hir/src/hir.rs:277
↓ 118 callersMethodas_ptr
Obtain a raw pointer to the first element of this user slice.
library/std/src/sys/sgx/abi/usercalls/alloc.rs:666
↓ 118 callersMethodclone
(&self)
compiler/rustc_builtin_macros/src/format_foreign.rs:815
↓ 118 callersMethodlook_ahead
Look-ahead `dist` tokens of `self.token` and get access to that token there. When `dist == 0` then the current token is looked at.
compiler/rustc_parse/src/parser/mod.rs:1083
↓ 118 callersMethodto_owned
(&self)
src/test/ui/traits/auxiliary/issue_89119_intercrate_caching.rs:9
↓ 118 callersMethodword_space
(&mut self, w: W)
compiler/rustc_ast_pretty/src/helpers.rs:5
↓ 117 callersFunctioncopy_nonoverlapping
even without panics, this helps for Miri backtraces
library/core/src/intrinsics.rs:2346
↓ 117 callersMethodcount
Count the number of tokens recursively
src/tools/rust-analyzer/crates/tt/src/lib.rs:225
↓ 117 callersMethodoffset
(&self, line_col: LineCol)
src/tools/rust-analyzer/crates/ide-db/src/line_index.rs:103
↓ 117 callersMethodtake_while
(self, predicate: P)
library/core/src/iter/traits/iterator.rs:1204
↓ 116 callersMethodexpect
(&mut self, cond: Self::Value, expected: bool)
compiler/rustc_codegen_llvm/src/intrinsic.rs:399
↓ 116 callersMethodlen
Stacks are never empty
src/tools/miri/src/stacked_borrows/stack.rs:348
↓ 116 callersFunctiononce
(value: T)
library/core/src/iter/sources/once.rs:55
↓ 116 callersMethodpush
(&mut self, name: &str)
src/tools/rust-analyzer/crates/hir-def/src/nameres/mod_resolution.rs:120
← previousnext →301–400 of 93,053, ranked by callers