about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBastian Kauschke <bastian_kauschke@hotmail.de>2020-09-19 22:27:52 +0200
committerBastian Kauschke <bastian_kauschke@hotmail.de>2020-09-19 22:27:52 +0200
commit30cbc9729654c66b9f54779d18f023e47112cdf2 (patch)
tree919a6543f8abfe59fe0fe71d681f769fe9a774a4
parentd4039c55c9ef392261aeaba6c14ae81f5098139a (diff)
downloadrust-30cbc9729654c66b9f54779d18f023e47112cdf2.tar.gz
rust-30cbc9729654c66b9f54779d18f023e47112cdf2.zip
words
-rw-r--r--compiler/rustc_trait_selection/src/traits/const_evaluatable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/const_evaluatable.rs b/compiler/rustc_trait_selection/src/traits/const_evaluatable.rs
index 6c0c1df1b53..12082475c85 100644
--- a/compiler/rustc_trait_selection/src/traits/const_evaluatable.rs
+++ b/compiler/rustc_trait_selection/src/traits/const_evaluatable.rs
@@ -423,7 +423,7 @@ pub(super) fn try_unify_abstract_consts<'tcx>(
     .unwrap_or_else(|ErrorReported| true)
     // FIXME(const_evaluatable_checked): We should instead have this
     // method return the resulting `ty::Const` and return `ConstKind::Error`
-    // on `Error`.
+    // on `ErrorReported`.
 }
 
 /// Tries to unify two abstract constants using structural equality.