From 1ea4aa003660316d7c208e4cb2a38c6100805a21 Mon Sep 17 00:00:00 2001 From: fee1-dead Date: Wed, 22 Dec 2021 00:25:50 +0800 Subject: [PATCH] Fixed a small typo in ui test comments --- src/test/ui/rfc-2632-const-trait-impl/issue-92111.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/ui/rfc-2632-const-trait-impl/issue-92111.rs b/src/test/ui/rfc-2632-const-trait-impl/issue-92111.rs index d30f4edd4b25c..9bf0886084f91 100644 --- a/src/test/ui/rfc-2632-const-trait-impl/issue-92111.rs +++ b/src/test/ui/rfc-2632-const-trait-impl/issue-92111.rs @@ -1,7 +1,7 @@ // Regression test for #92111. // // The issue was that we normalize trait bounds before caching -// results of selection. Checking that `impl NoDrop for S` requires +// results of selection. Checking that `impl Tr for S` requires // checking `S: !Drop` because it cannot overlap with the blanket // impl. Then we save the (unsatisfied) result from checking `S: Drop`. // Then the call to `a` checks whether `S: ~const Drop` but we normalize