about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2020-11-18 15:46:40 +0100
committerGitHub <noreply@github.com>2020-11-18 15:46:40 +0100
commit43d13e2d584c32b125d61f055e6e7127a77b1d54 (patch)
treeca8ebb464fe87caa0665186f44cec18e2ba19558 /compiler/rustc_codegen_llvm/src
parent5a9104fcdd42f64641ac3112bad5a293dff9e437 (diff)
parent88584d5800247f4040a45637a88034ddaadb1a9a (diff)
downloadrust-43d13e2d584c32b125d61f055e6e7127a77b1d54.tar.gz
rust-43d13e2d584c32b125d61f055e6e7127a77b1d54.zip
Rollup merge of #79158 - lcnr:lazy-norm-coerce, r=oli-obk
type is too big -> values of the type are too big

strictly speaking, `[u8; usize::MAX]` or even `[[[u128; usize::MAX]; usize::MAX]; usize::MAX]` are absolutely fine types as long as you don't try to deal with any values of it.

This error message seems to cause some confusion imo, for example in https://github.com/rust-lang/rust/pull/79135#issuecomment-729361380 so I would prefer us to be more precise here.

See the added test case which uses one of these types without causing an error.

r? ``@oli-obk``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions