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.
This commit is contained in:
Michael Goulet 2023-08-22 09:00:50 -07:00 committed by GitHub
commit 0b892816c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

Diff content is not available