21 matches across 1 files for error path:compiler/rustc_abi/src/layout.rs path:compiler/rustc_abi/src/layout.rs
snippet_mode: auto · sorted by relevance
compiler/rustc_abi/src/layout.rs RUST 21 matches · showing 5 view file →
107
108#[derive(Copy, Clone, Debug, PartialEq, Eq)]
109pub enum LayoutCalculatorError<F> {
110 /// An unsized type was found in a location where a sized type was expected.
111 ///
· · ·
112 /// This is not always a compile error, for example if there is a `[T]: Sized`
113 /// bound in a where clause.
114 ///
· · ·
135}
136
137impl<F> LayoutCalculatorError<F> {
138 pub fn without_payload(&self) -> LayoutCalculatorError<()> {
139 use LayoutCalculatorError::*;
· · ·
138 pub fn without_payload(&self) -> LayoutCalculatorError<()> {
139 use LayoutCalculatorError::*;
140 match *self {
· · ·
139 use LayoutCalculatorError::*;
140 match *self {
141 UnexpectedUnsized(_) => UnexpectedUnsized(()),
+ 16 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.