Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.brim-lang.com/llms.txt

Use this file to discover all available pages before exploring further.

Name Resolution diagnostics

  • Total in this phase: 37
  • Errors: 36 | Warnings: 1 | Bugs: 0
  • Prefix: /diagnostics/<code>
  • Common tags: attributes, build, closures, const-eval, exports, features, ffi, impls

Common fixes in this phase

  • rename inner binding (seen in 2 diagnostics)
  • fix the path
  • check spelling
  • add missing file or mod declaration
  • annotate extern ABI

Codes

  • E2000 - undefined variable (Error)
  • E2001 - undefined type (Error)
  • E2002 - undefined module (Error)
  • E2003 - ambiguous reference (Error)
  • E2004 - duplicate definition (Error)
  • E2005 - private item (Error)
  • E2006 - cyclic module graph (Error)
  • E2007 - unresolved import (Error)
  • E2008 - conflicting imports (Error)
  • E2009 - invalid path root (Error)
  • E2010 - expected value namespace (Error)
  • E2011 - expected type namespace (Error)
  • E2012 - invalid re-export (Error)
  • E2013 - unknown lint or attribute name (Error)
  • E2014 - shadowed definition (Error)
  • E2015 - mutable static misuse (Error)
  • E2016 - cannot capture environment (Error)
  • E2017 - duplicate variant (Error)
  • E2018 - duplicate record field in type (Error)
  • E2019 - trait item missing (Error)
  • E2020 - orphan impl (Error)
  • E2021 - experimental feature (Error)
  • E2022 - reserved for forward compatibility (Error)
  • E2023 - intrinsic misuse at scope (Error)
  • E2024 - foreign ABI mismatch (Error)
  • E2025 - recursive binding (Error)
  • E2026 - constant evaluation dependency cycle (Error)
  • E2027 - associated item not in trait (Error)
  • E2028 - opaque type leak (Error)
  • E2029 - crate mismatch (Error)
  • E2030 - cannot infer closure signature (Error)
  • E2031 - pattern binding collision (Error)
  • E2032 - unsafe fn requirement (Error)
  • E2033 - missing ABI declaration (Error)
  • E2034 - duplicate inherent method (Error)
  • E2035 - glob import ambiguity (Error)
  • W1011 - shadowing unchanged type (Warning)
Back to Diagnostics index. Canonical phase route: /diagnostics/phases/name-resolution