summaryrefslogtreecommitdiff
path: root/tests/ui/associated-inherent-types/dispatch-on-self-type-0.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/associated-inherent-types/dispatch-on-self-type-0.rs')
-rw-r--r--tests/ui/associated-inherent-types/dispatch-on-self-type-0.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/associated-inherent-types/dispatch-on-self-type-0.rs b/tests/ui/associated-inherent-types/dispatch-on-self-type-0.rs
index f846bfa4168..83be4f43b5e 100644
--- a/tests/ui/associated-inherent-types/dispatch-on-self-type-0.rs
+++ b/tests/ui/associated-inherent-types/dispatch-on-self-type-0.rs
@@ -31,7 +31,7 @@ fn main() {
let _: Select<u8>::Projection = ();
let _: Choose<NonCopy>::Result = ();
- let _: Choose<bool>::Result = vec![true];
+ let _: Choose<&str>::Result = vec!["…"]; // regression test for issue #108957
}
// Test if we use the correct `ParamEnv` when proving obligations.