Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#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 rust-lang#115028 (not sure whether they were directly inspired by this function), but I think I've also seen other cases.
- Loading branch information