mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
cd3ba4a885
`compile_fail` should only be used when the code is meant to show what *not* to do. In other words, there should be a fundamental flaw in the code. However, in this case, the example is just incomplete, so we should use `ignore` to avoid confusing readers.