fix: improve error message for `initialize` with missing `Nonempty` instance This PR improves the error message when `initialize` (or `opaque`) fails to find an `Inhabited` or `Nonempty` instance. Previously, the error was just "failed to synthesize Inhabited Foo", which didn't hint that `Nonempty` would also work. The new message explains that both were tried and suggests adding `deriving Nonempty`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This is the repository for Lean 4.
See Install Lean.
Please read our Contribution Guidelines first.
See Building Lean.