diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-02-20 23:56:04 -0800 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-02-22 23:26:22 -0800 |
| commit | 5c7ae251b15d7423231aa7aeaad826cecf631c78 (patch) | |
| tree | f4e730031e91eb44956f9fe04e952483f2c60d29 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | f715e430aac0de131e2ad21804013ea405722a66 (diff) | |
| download | rust-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
