about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-06 13:09:59 +0100
committerGitHub <noreply@github.com>2025-02-06 13:09:59 +0100
commitc2c4d5ebfbf5ec9e028d50e5dbf363eb8ce47778 (patch)
tree3eb4dbaf3bcb6636c7b94df3b2cd1f56dedda94a /compiler/rustc_const_eval/src
parentb62f318a3b77cce4809d26baa5c54dcf50ed1ce5 (diff)
parent382caf96a72443b9ad3dfa80b106212900397928 (diff)
downloadrust-c2c4d5ebfbf5ec9e028d50e5dbf363eb8ce47778.tar.gz
rust-c2c4d5ebfbf5ec9e028d50e5dbf363eb8ce47778.zip
Rollup merge of #136315 - estebank:long-ty-binop, r=SparrowLii
Use short ty string for binop and unop errors

```
error[E0369]: cannot add `(..., ..., ..., ...)` to `(..., ..., ..., ...)`
  --> $DIR/binop.rs:10:7
   |
LL |     x + x;
   |     - ^ - (..., ..., ..., ...)
   |     |
   |     (..., ..., ..., ...)
   |
   = note: the full name for the type has been written to '$TEST_BUILD_DIR/$FILE.long-type-hash.txt'
   = note: consider using `--verbose` to print the full type name to the console
```
```
error[E0600]: cannot apply unary operator `!` to type `(..., ..., ..., ...)`
  --> $DIR/binop.rs:14:5
   |
LL |     !x;
   |     ^^ cannot apply unary operator `!`
   |
   = note: the full name for the type has been written to '$TEST_BUILD_DIR/$FILE.long-type-hash.txt'
   = note: consider using `--verbose` to print the full type name to the console
```

CC #135919.
Diffstat (limited to 'compiler/rustc_const_eval/src')
0 files changed, 0 insertions, 0 deletions