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

reference cannot be sent across threads with current captures

Metadata

  • Code: E4019
  • Default level: Error
  • Phase: Borrow Check
  • Canonical docs URL: https://docs.brim-lang.com/diagnostics/E4019
  • Tags: borrow, threads

How to fix

  • Arc/Mutex
  • move ownership across threads

Typical output

E4019: thread boundary borrow
note: reference cannot be sent across threads with current captures