//! AI assistance: this file was written with AI assistance. The maintainer reviewed it and did not find errors.
//!
//! `trybuild` checks for `capture!` / `bind!` expansion (repeated binds, conflicts, trailing tokens).
//!
//! Run: `cargo test --test capture_ui`
//! Regenerate `tests/ui/*.stderr` after rustc diagnostic churn:
//! `TRYBUILD=overwrite cargo test --test capture_ui`
//! (See the **Compile tests (`trybuild`)** section in the repo `README.md`.)