about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-01-17 12:24:53 -0500
committerJoshua Nelson <jyn514@gmail.com>2021-01-17 12:27:20 -0500
commit394d7018b91db8b5d2a40cc12a7f2389b430f1b9 (patch)
treea800d1977a5def7f2b567139482607fec343f440 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parente48eb37b9470a26748c916f7153569906f3c67bf (diff)
downloadrust-394d7018b91db8b5d2a40cc12a7f2389b430f1b9.tar.gz
rust-394d7018b91db8b5d2a40cc12a7f2389b430f1b9.zip
Add track_caller to .steal()
Before:

```
thread 'rustc' panicked at 'attempt to read from stolen value', /home/joshua/rustc/compiler/rustc_data_structures/src/steal.rs:43:15
```

After:

```
thread 'rustc' panicked at 'attempt to steal from stolen value', compiler/rustc_mir/src/transform/mod.rs:423:25
```
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions