32 matches across 1 files for error lang: lang:Rust path:src/tools/rust-analyzer/crates/hir-def/src/expr_store/lower.rs
snippet_mode: auto · sorted by relevance
src/tools/rust-analyzer/crates/hir-def/src/expr_store/lower.rs RUST 32 matches · showing 5 view file →
596 // FIXME: Keyword check?
597 let lifetime_ref = match &*lifetime.text() {
598 "" | "'" => LifetimeRef::Error,
599 "'static" => LifetimeRef::Static,
600 "'_" => LifetimeRef::Placeholder,
· · ·
632 .and_then(|it| self.lower_path(it, impl_trait_lower_fn))
633 .map(TypeRef::Path)
634 .unwrap_or(TypeRef::Error),
635 ast::Type::PtrType(inner) => {
636 let inner_ty = self.lower_type_ref_opt(inner.ty(), impl_trait_lower_fn);
· · ·
709 if self.outer_impl_trait {
710 // Disallow nested impl traits
711 TypeRef::Error
712 } else {
713 return self.with_outer_impl_trait_scope(true, |this| {
· · ·
731 return id;
732 }
733 None => TypeRef::Error,
734 },
735 };
· · ·
738
739 pub(crate) fn lower_type_ref_disallow_impl_trait(&mut self, node: ast::Type) -> TypeRefId {
740 self.lower_type_ref(node, &mut Self::impl_trait_error_allocator)
741 }
742
+ 27 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.