about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorOli Scherer <github35764891676564198441@oli-obk.de>2022-04-12 21:36:09 +0200
committerGitHub <noreply@github.com>2022-04-12 21:36:09 +0200
commit6d0349d2ea97e2a3e208e0342a6a95d6b90d92ea (patch)
tree51efa29bbbada9dbbf7bd0e9716f31d6cff74899 /compiler
parent93a3cfb748546ba7729db68f2e962e8b29eafa77 (diff)
downloadrust-6d0349d2ea97e2a3e208e0342a6a95d6b90d92ea.tar.gz
rust-6d0349d2ea97e2a3e208e0342a6a95d6b90d92ea.zip
Apply suggestions from code review
Co-authored-by: Michael Goulet <michael@errs.io>
Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_typeck/src/coherence/orphan.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_typeck/src/coherence/orphan.rs b/compiler/rustc_typeck/src/coherence/orphan.rs
index f9e2e4c41aa..77a53744829 100644
--- a/compiler/rustc_typeck/src/coherence/orphan.rs
+++ b/compiler/rustc_typeck/src/coherence/orphan.rs
@@ -191,7 +191,7 @@ fn orphan_check_impl(tcx: TyCtxt<'_>, def_id: LocalDefId) -> Result<(), ErrorGua
                 return Err(reported);
             }
         }
-        span_bug!(sp, "opque type not found, but `has_opaque_types` is set")
+        span_bug!(sp, "opaque type not found, but `has_opaque_types` is set")
     }
 
     Ok(())