bors a7fa264ae7 Auto merge of #74821 - oli-obk:const_eval_read_uninit_fast_path, r=wesleywiser
Check whether locals are too large instead of whether accesses into them are too large

Essentially this stops const prop from attempting to optimize

```rust
let mut x = [0_u8; 5000];
x[42] = 3;
```

I don't expect this to be a perf improvement without #73656 (which is also where the lack of this PR will be a perf regression).

r? @wesleywiser
2020-08-07 15:28:07 +00:00
..
2020-07-10 07:39:28 -04:00
2020-06-10 01:35:47 +00:00
2020-04-19 21:00:25 +02:00
2020-08-02 23:20:00 +08:00
2020-04-20 15:47:08 -04:00
2020-04-23 16:30:06 -07:00
2020-04-26 18:00:51 +03:00
2020-07-10 07:39:28 -04:00