about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-02-26 12:04:57 +0100
committerGitHub <noreply@github.com>2023-02-26 12:04:57 +0100
commit3d2319f1d636f029a1c01f95d732726dd3ec12c7 (patch)
tree6bf1d6c977a553dc6d033b27df3c0cbd22231fd3 /compiler/rustc_errors/src
parent2bc553c6ea6243ecaee79ebe7a6fb5c6595e5eb9 (diff)
parent5c7ae251b15d7423231aa7aeaad826cecf631c78 (diff)
downloadrust-3d2319f1d636f029a1c01f95d732726dd3ec12c7.tar.gz
rust-3d2319f1d636f029a1c01f95d732726dd3ec12c7.zip
Rollup merge of #108299 - scottmcm:literal-bits, r=Nilstrieb
Require `literal`s for some `(u)int_impl!` parameters

The point of these is to be seen *lexically* in the docs, so they should always be passed as the correct literal, not as an expression.

(Otherwise we could just compute `Min`/`Max` from `BITS`, for example.)

r? Nilstrieb
Diffstat (limited to 'compiler/rustc_errors/src')
0 files changed, 0 insertions, 0 deletions