about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJhonny Bill Mena <jhonnybillm@gmail.com>2022-08-21 00:38:23 -0400
committerJhonny Bill Mena <jhonnybillm@gmail.com>2022-08-30 14:27:42 -0400
commit359002bbebb5a3879af4d957001b6526ae4c550e (patch)
treef4ae399d40f467d78e3e53f784de6c0fdee28e07 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent86f8c4e8e3136ee1831ffaa9d6fbdac7267d35ea (diff)
downloadrust-359002bbebb5a3879af4d957001b6526ae4c550e.tar.gz
rust-359002bbebb5a3879af4d957001b6526ae4c550e.zip
ADD - migrate InvalidTraitItem and AltInvalidTraitItem errors
Thought of doing this by having a struct and an enum with Default and Alt cases, but not sure if we wanted to have the text in code instead of having “demangling()” and “demangling-alt()” in the ftl file.

Don’t like the current way of having structs representing the same-ish and using long names to distinguish their expectations, instead of putting this in an enum and handling the different cases inside the type.

I am fine with whichever option the team prefers; also understand having them as separate structs keeps it simple.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions