about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/mod.rs
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-09-20 02:39:19 -0400
committerJoshua Nelson <jyn514@gmail.com>2020-09-23 21:04:50 -0400
commit049d29bac580b958cdff6e898dad22de09a27958 (patch)
tree663852833c4852e2936a740ba1fbd5f709d72240 /compiler/rustc_codegen_llvm/src/llvm/mod.rs
parent472e52e5a03790becdbe21be1002a90dd2d7d3d4 (diff)
downloadrust-049d29bac580b958cdff6e898dad22de09a27958.tar.gz
rust-049d29bac580b958cdff6e898dad22de09a27958.zip
Unify primitive errors with other intra-link errors
Now that `PrimTy::name()` exists, there's no need to carry around the
name of the primitive that failed to resolve. This removes the variants
special-casing primitives in favor of `NotResolved`.

- Remove `NoPrimitiveImpl` and `NoPrimitiveAssocItem`
- Remove hacky `has_primitive` check in `resolution_failure()`
- Fixup a couple tests that I forgot to `--bless` before
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/mod.rs')
0 files changed, 0 insertions, 0 deletions