about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-02-11 23:47:56 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-02-11 23:47:56 +0000
commit23daa8c724cccc4ef75de60d271a50ef193abf0f (patch)
treef94a3fead06c34ec520c7f6a700a1c4d09bc6f01 /compiler/rustc_codegen_llvm
parent1b98d0ed13e4a8ff8d94e6aee0f11fab07d6139a (diff)
downloadrust-23daa8c724cccc4ef75de60d271a50ef193abf0f.tar.gz
rust-23daa8c724cccc4ef75de60d271a50ef193abf0f.zip
Remove some the spans pointing at the enum in the path and its generic args
```
error[E0109]: type arguments are not allowed on tuple variant `TSVariant`
  --> $DIR/enum-variant-generic-args.rs:54:29
   |
LL |     Enum::<()>::TSVariant::<()>(());
   |                 ---------   ^^ type argument not allowed
   |                 |
   |                 not allowed on tuple variant `TSVariant`
   |
   = note: generic arguments are not allowed on both an enum and its variant's path segments simultaneously; they are only valid in one place or the other
help: remove the generics arguments from one of the path segments
   |
LL -     Enum::<()>::TSVariant::<()>(());
LL +     Enum::<()>::TSVariant(());
   |
```
Diffstat (limited to 'compiler/rustc_codegen_llvm')
0 files changed, 0 insertions, 0 deletions