about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2023-02-20 23:56:04 -0800
committerScott McMurray <scottmcm@users.noreply.github.com>2023-02-22 23:26:22 -0800
commit5c7ae251b15d7423231aa7aeaad826cecf631c78 (patch)
treef4e730031e91eb44956f9fe04e952483f2c60d29 /compiler/rustc_codegen_llvm/src/errors.rs
parentf715e430aac0de131e2ad21804013ea405722a66 (diff)
downloadrust-5c7ae251b15d7423231aa7aeaad826cecf631c78.tar.gz
rust-5c7ae251b15d7423231aa7aeaad826cecf631c78.zip
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.)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions