24,437 matches across 25 files for func main lang:Rust lang:Rust
snippet_mode: summary · sorted by relevance
library/std/src/io/mod.rs RUST 126 matches · showing 1 view file →
1//! Traits, helpers, and type definitions for core I/O functionality.
+ 125 more matches in this file
compiler/rustc_codegen_ssa/src/back/write.rs RUST 99 matches · showing 1 view file →
34use rustc_target::spec::{MergeFunctions, SanitizerSet};
+ 98 more matches in this file
src/tools/rust-analyzer/crates/ide-assists/src/handlers/inline_call.rs RUST 95 matches · showing 1 view file →
36// Inline a function or method body into all of its callers where possible, creating a `let` statement per parameter
+ 94 more matches in this file
compiler/rustc_codegen_ssa/src/base.rs RUST 48 matches · showing 1 view file →
194 // a function and we do not allow overlapping impls.
+ 47 more matches in this file
compiler/rustc_monomorphize/src/collector.rs RUST 55 matches · showing 1 view file →
6//! needs to find syntax-level items (functions, structs, etc) but also all
+ 54 more matches in this file
library/core/src/slice/iter.rs RUST 49 matches · showing 1 view file →
377 /// Marks the underlying iterator as complete, extracting the remaining
+ 48 more matches in this file
compiler/rustc_hir_typeck/src/expr.rs RUST 54 matches · showing 1 view file →
46 FunctionalRecordUpdateOnNonStruct, HelpUseLatestEdition, NakedAsmOutsideNakedFn,
+ 53 more matches in this file
library/core/src/slice/mod.rs RUST 131 matches · showing 1 view file →
82/// This is a helper function for `split_off` and `split_off_mut` that returns
+ 130 more matches in this file
src/tools/rust-analyzer/crates/ide/src/runnables.rs RUST 83 matches · showing 1 view file →
143 Definition::Function(it) => it.source(db).map(|src| src.file_id),
+ 82 more matches in this file
src/tools/rust-analyzer/crates/ide/src/rename.rs RUST 74 matches · showing 1 view file →
1//! Renaming functionality.
+ 73 more matches in this file
src/tools/rust-analyzer/crates/ide-completion/src/render.rs RUST 155 matches · showing 1 view file →
5pub(crate) mod function;
+ 154 more matches in this file
src/tools/clippy/clippy_lints/src/doc/mod.rs RUST 36 matches · showing 1 view file →
20 DocFragment, add_doc_fragment, attrs_to_doc_fragments, main_body_opts, pulldown_cmark,
+ 35 more matches in this file
src/librustdoc/doctest/make.rs RUST 34 matches · showing 1 view file →
2//! runnable, e.g. by adding a `main` function if it doesn't already exist.
+ 33 more matches in this file
compiler/rustc_passes/src/stability.rs RUST 37 matches · showing 1 view file →
129/// while maintaining the invariant that all sysroot crates are unstable
+ 36 more matches in this file
src/tools/rust-analyzer/crates/hir-ty/src/infer.rs RUST 37 matches · showing 1 view file →
7//! inference here is the `infer` function, which infers the types of all
+ 36 more matches in this file
library/std/src/fs.rs RUST 219 matches · showing 1 view file →
5//! operations. Extra platform-specific functionality can be found in the
+ 218 more matches in this file
src/tools/rust-analyzer/crates/ide-completion/src/completions/postfix.rs RUST 126 matches · showing 1 view file →
117 postfix_snippet("call", "function(expr)", &format!("${{1}}({receiver_text})"))
+ 125 more matches in this file
src/tools/rust-analyzer/crates/hir/src/source_analyzer.rs RUST 50 matches · showing 1 view file →
3//! modules, functions, etc, due to macros, cfgs and `#[path=]` attributes on
+ 49 more matches in this file
library/std/src/path.rs RUST 46 matches · showing 1 view file →
276/// separator](MAIN_SEPARATOR) is always element 0 of the slice.
+ 45 more matches in this file
src/tools/rust-analyzer/crates/ide/src/highlight_related.rs RUST 37 matches · showing 1 view file →
426 // it will exit the outside function instead of the block itself.
+ 36 more matches in this file
src/tools/rust-analyzer/crates/rust-analyzer/src/cli/scip.rs RUST 67 matches · showing 1 view file →
305 * Struct/enum/const/static/impl definitions nested in a function do not mention the function name.
+ 66 more matches in this file
compiler/rustc_middle/src/mir/pretty.rs RUST 26 matches · showing 1 view file →
142 /// Output from this function is controlled by passing `-Z dump-mir=<filter>`,
+ 25 more matches in this file
src/tools/rust-analyzer/crates/ide/src/goto_definition.rs RUST 82 matches · showing 1 view file →
161) -> Option<hir::Function> {
+ 81 more matches in this file
src/tools/rust-analyzer/crates/ide/src/signature_help.rs RUST 75 matches · showing 1 view file →
1//! This module provides primitives for showing type and function parameter information when editing
+ 74 more matches in this file
src/tools/miri/src/bin/miri.rs RUST 13 matches · showing 1 view file →
21/// See docs in https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc/src/main.rs
+ 12 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.