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

implicit drop interacts illegally with borrows

Metadata

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

How to fix

  • restrict overlapping scopes
  • ManuallyDrop patterns

Typical output

E4017: ghost borrow via destructor
note: implicit drop interacts illegally with borrows