33 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 33 matches · showing 5 view file →
600 // FIXME: Keyword check?
601 let lifetime_ref = match &*lifetime.text() {
602 "" | "'" => LifetimeRef::Error,
603 "'static" => LifetimeRef::Static,
604 "'_" => LifetimeRef::Placeholder,
· · ·
636 .and_then(|it| self.lower_path(it, impl_trait_lower_fn))
637 .map(TypeRef::Path)
638 .unwrap_or(TypeRef::Error),
639 ast::Type::PtrType(inner) => {
640 let inner_ty = self.lower_type_ref_opt(inner.ty(), impl_trait_lower_fn);
· · ·
708 if self.outer_impl_trait {
709 // Disallow nested impl traits
710 TypeRef::Error
711 } else {
712 return self.with_outer_impl_trait_scope(true, |this| {
· · ·
734 return id;
735 }
736 None => TypeRef::Error,
737 },
738 };
· · ·
741
742 pub(crate) fn lower_type_ref_disallow_impl_trait(&mut self, node: ast::Type) -> TypeRefId {
743 self.lower_type_ref(node, &mut Self::impl_trait_error_allocator)
744 }
745
+ 28 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.