about summary refs log tree commit diff
path: root/tests/rustdoc-ui/issues
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-12-04 02:04:26 +0000
committerMichael Goulet <michael@errs.io>2025-01-15 01:26:24 +0000
commit824a867e82b540503f8ae1f589445d9f9a8ce941 (patch)
tree593d3ceef3b46a46865bdfc2ac310977eac70ceb /tests/rustdoc-ui/issues
parent8361aef0d7c29b1501a316a208ed84cd8a2ae5da (diff)
downloadrust-824a867e82b540503f8ae1f589445d9f9a8ce941.tar.gz
rust-824a867e82b540503f8ae1f589445d9f9a8ce941.zip
Rework trait expansion to happen once explicitly
Diffstat (limited to 'tests/rustdoc-ui/issues')
-rw-r--r--tests/rustdoc-ui/issues/ice-generic-type-alias-105742.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-ui/issues/ice-generic-type-alias-105742.stderr b/tests/rustdoc-ui/issues/ice-generic-type-alias-105742.stderr
index f9080bf0785..97bd44244f3 100644
--- a/tests/rustdoc-ui/issues/ice-generic-type-alias-105742.stderr
+++ b/tests/rustdoc-ui/issues/ice-generic-type-alias-105742.stderr
@@ -295,10 +295,10 @@ LL |     Output = <Self as SVec>::Item> as SVec>::Item<T>,
    |                                                  +++
 
 error[E0038]: the trait `SVec` cannot be made into an object
-  --> $DIR/ice-generic-type-alias-105742.rs:5:31
+  --> $DIR/ice-generic-type-alias-105742.rs:5:35
    |
 LL | pub fn next<'a, T>(s: &'a mut dyn SVec<Item = T, Output = T>) {
-   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `SVec` cannot be made into an object
+   |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^ `SVec` cannot be made into an object
    |
 note: for a trait to be "dyn-compatible" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
   --> $DIR/ice-generic-type-alias-105742.rs:15:17