about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2024-02-22 23:10:46 +0100
committerlcnr <rust@lcnr.de>2024-02-22 23:10:46 +0100
commitdabacb7431dbca5ea337ed5a456ecf756e2533af (patch)
treebdd66cdf040f3bba21e49d3a71a951d4c5659d3f
parentfa2921bdca25960fbe68ad5fa14410f254a6c69e (diff)
downloadrust-dabacb7431dbca5ea337ed5a456ecf756e2533af.tar.gz
rust-dabacb7431dbca5ea337ed5a456ecf756e2533af.zip
fix CI
-rw-r--r--compiler/rustc_infer/src/infer/relate/generalize.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_infer/src/infer/relate/generalize.rs b/compiler/rustc_infer/src/infer/relate/generalize.rs
index 1494730978b..eecdbbe5179 100644
--- a/compiler/rustc_infer/src/infer/relate/generalize.rs
+++ b/compiler/rustc_infer/src/infer/relate/generalize.rs
@@ -112,13 +112,13 @@ impl<'tcx> InferCtxt<'tcx> {
             // constrain the `generalized_ty` while using the original relation,
             // we therefore only have to flip the arguments.
             //
-            // ```ignore
+            // ```ignore (not code)
             // ?a rel B
             // instantiate_ty_var(?a, B) # expected and variance not flipped
             // B' rel B
             // ```
             // or
-            // ```ignore
+            // ```ignore (not code)
             // A rel ?b
             // instantiate_ty_var(?b, A) # expected and variance flipped
             // A rel A'