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.

What this means

trait impl violates coherence rules

Metadata

  • Code: E2020
  • Default level: Error
  • Phase: Name Resolution
  • Canonical docs URL: https://docs.brim-lang.com/diagnostics/E2020
  • Tags: name, traits

How to fix

  • define trait/type locally
  • use newtype wrapper

Typical output

E2020: orphan impl
note: trait impl violates coherence rules