about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2024-02-13 14:03:59 -0500
committerGitHub <noreply@github.com>2024-02-13 14:03:59 -0500
commitcd3ba4a8852b20ba6aaa55db20bb415d4333c7c7 (patch)
treeea7366e0345c969d49d4ded146093c9791928d58 /compiler/rustc_codegen_llvm/src
parenteaff1af8fdd18ee3eb05167b2836042b7d4315f6 (diff)
downloadrust-cd3ba4a8852b20ba6aaa55db20bb415d4333c7c7.tar.gz
rust-cd3ba4a8852b20ba6aaa55db20bb415d4333c7c7.zip
Fix incorrect use of `compile_fail`
`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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions