59,904 matches across 25 files for error
snippet_mode: summary · sorted by relevance
compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs RUST 166 matches · showing 1 view file →
11use rustc_errors::codes::*;
+ 165 more matches in this file
compiler/rustc_trait_selection/src/error_reporting/infer/nice_region_error/placeholder_error.rs RUST 21 matches · showing 1 view file →
4use rustc_errors::{Applicability, Diag, IntoDiagArg};
+ 20 more matches in this file
compiler/rustc_resolve/src/diagnostics/impls.rs RUST 116 matches · showing 1 view file →
15use rustc_errors::codes::*;
+ 115 more matches in this file
compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs RUST 192 matches · showing 1 view file →
8use rustc_errors::codes::*;
+ 191 more matches in this file
compiler/rustc_hir_typeck/src/expr.rs RUST 181 matches · showing 1 view file →
2// FIXME: we should move the field error reporting code somewhere else.
+ 180 more matches in this file
compiler/rustc_resolve/src/late.rs RUST 169 matches · showing 1 view file →
22use rustc_errors::codes::*;
+ 168 more matches in this file
compiler/rustc_resolve/src/imports.rs RUST 68 matches · showing 1 view file →
9use rustc_errors::{Applicability, BufferedEarlyLint, Diagnostic};
+ 67 more matches in this file
compiler/rustc_resolve/src/ident.rs RUST 72 matches · showing 1 view file →
6use rustc_errors::ErrorGuaranteed;
+ 71 more matches in this file
compiler/rustc_resolve/src/late/diagnostics.rs RUST 70 matches · showing 1 view file →
16use rustc_errors::codes::*;
+ 69 more matches in this file
compiler/rustc_hir_typeck/src/pat.rs RUST 127 matches · showing 1 view file →
7use rustc_errors::codes::*;
+ 126 more matches in this file
compiler/rustc_middle/src/ty/print/pretty.rs RUST 85 matches · showing 1 view file →
100 /// cycle errors, this can result in extra or suboptimal error output,
+ 84 more matches in this file
src/tools/rust-analyzer/crates/hir-ty/src/mir/eval.rs RUST 123 matches · showing 1 view file →
5use base_db::{Crate, target::TargetLoadError};
+ 122 more matches in this file
compiler/rustc_parse/src/parser/diagnostics.rs RUST 66 matches · showing 1 view file →
14use rustc_errors::{
+ 65 more matches in this file
compiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs RUST 123 matches · showing 1 view file →
21pub mod errors;
+ 122 more matches in this file
compiler/rustc_parse/src/parser/expr.rs RUST 68 matches · showing 1 view file →
21use rustc_errors::{Applicability, Diag, PResult, StashKey, Subdiagnostic};
+ 67 more matches in this file
compiler/rustc_hir_analysis/src/check/check.rs RUST 58 matches · showing 1 view file →
6use rustc_errors::codes::*;
+ 57 more matches in this file
compiler/rustc_hir_analysis/src/check/wfcheck.rs RUST 101 matches · showing 1 view file →
8use rustc_errors::codes::*;
+ 100 more matches in this file
src/tools/rust-analyzer/crates/hir-ty/src/display.rs RUST 51 matches · showing 1 view file →
102pub type Result<T = (), E = HirDisplayError> = std::result::Result<T, E>;
+ 50 more matches in this file
src/tools/miri/src/shims/unix/fs.rs RUST 100 matches · showing 1 view file →
5use std::fs::{self, DirBuilder, File, FileTimes, FileType, OpenOptions, TryLockError};
+ 99 more matches in this file
compiler/rustc_hir_analysis/src/check/compare_impl_item.rs RUST 121 matches · showing 1 view file →
8use rustc_errors::codes::*;
+ 120 more matches in this file
compiler/rustc_hir_typeck/src/coercion.rs RUST 104 matches · showing 1 view file →
40use rustc_errors::codes::*;
+ 103 more matches in this file
src/tools/rust-analyzer/crates/hir-ty/src/mir/eval/shim.rs RUST 93 matches · showing 1 view file →
17 MirEvalError, MirSpan, Mutability, Result, Ty, TyKind, from_bytes, not_supported, pad16,
+ 92 more matches in this file
compiler/rustc_borrowck/src/diagnostics/mod.rs RUST 76 matches · showing 1 view file →
7use rustc_errors::formatting::DiagMessageAddArg;
+ 75 more matches in this file
src/bootstrap/bootstrap.py PYTHON 43 matches · showing 1 view file →
20except ImportError:
+ 42 more matches in this file
src/librustdoc/html/static/js/search.js JAVASCRIPT 60 matches · showing 1 view file →
20 // @ts-expect-error
+ 59 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.