about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-01-24 17:49:25 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-01-24 18:12:56 +0000
commit91b759354c3a0f8496af6ae72b1b27fd2f880055 (patch)
treecc758b6640caf62f2411034f90c7017f478b27f7 /compiler/rustc_interface/src
parent99768c80a1c094a5cfc3b25a04e7a99de7210eae (diff)
downloadrust-91b759354c3a0f8496af6ae72b1b27fd2f880055.tar.gz
rust-91b759354c3a0f8496af6ae72b1b27fd2f880055.zip
Use short ty string for move errors
```
error[E0382]: use of moved value: `x`
  --> bay.rs:14:14
   |
12 | fn foo(x: D) {
   |        - move occurs because `x` has type `(((..., ..., ..., ...), ..., ..., ...), ..., ..., ...)`, which does not implement the `Copy` trait
13 |     let _a = x;
   |              - value moved here
14 |     let _b = x; //~ ERROR use of moved value
   |              ^ value used here after move
   |
   = note: the full type name has been written to 'bay.long-type-14349227078439097973.txt'
   = note: consider using `--verbose` to print the full type name to the console
help: consider cloning the value if the performance cost is acceptable
   |
13 |     let _a = x.clone();
   |               ++++++++
```
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions