about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-08-22 09:00:50 -0700
committerGitHub <noreply@github.com>2023-08-22 09:00:50 -0700
commit39066450e36022e92b6598e0c8724f2100685a8a (patch)
treeafa40b3d98f538c30520e2f51538517b042a8224 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent0e84d42a9e1ecf30577da83a9910d269fb04dd6f (diff)
parentd16e9c3369cddb3ed4e37cc5d29ff095df77d48b (diff)
downloadrust-39066450e36022e92b6598e0c8724f2100685a8a.tar.gz
rust-39066450e36022e92b6598e0c8724f2100685a8a.zip
Rollup merge of #115087 - Nilstrieb:sizeassert, r=fee1-dead
Add disclaimer on size assertion macro

Sometimes people are inspired by rustc to add size assertions to their code and copy the macro. This is bad because it causes hard build errors. rustc happens to be special where it makes this okay.

For example, see #115028 (not sure whether they were directly inspired by this function), but I think I've also seen other cases.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions