about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/debuginfo
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-09-26 12:58:34 +0200
committerGitHub <noreply@github.com>2020-09-26 12:58:34 +0200
commit9e02642fb3f1f78793c24bbad9c39368e2024968 (patch)
tree617cba4274a10947caff435bda020c5c55ac787f /compiler/rustc_codegen_llvm/src/debuginfo
parent259e9477f4305f4939ced7fc6561ac7a615780ce (diff)
parent12187b7f860e8e823eb5e399946746c4d2c1b1a7 (diff)
downloadrust-9e02642fb3f1f78793c24bbad9c39368e2024968.tar.gz
rust-9e02642fb3f1f78793c24bbad9c39368e2024968.zip
Rollup merge of #77211 - est31:remove_unused_allow, r=oli-obk
Remove unused #[allow(...)] statements from compiler/
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo')
-rw-r--r--compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs b/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs
index 868eb74cf09..987149cb4c2 100644
--- a/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs
+++ b/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs
@@ -1845,7 +1845,6 @@ impl<'tcx> VariantInfo<'_, 'tcx> {
         None
     }
 
-    #[allow(dead_code)]
     fn is_artificial(&self) -> bool {
         match self {
             VariantInfo::Generator { .. } => true,