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