diff options
| author | Michael Goulet <michael@errs.io> | 2024-12-04 02:04:26 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-01-15 01:26:24 +0000 |
| commit | 824a867e82b540503f8ae1f589445d9f9a8ce941 (patch) | |
| tree | 593d3ceef3b46a46865bdfc2ac310977eac70ceb /tests/rustdoc-ui/issues | |
| parent | 8361aef0d7c29b1501a316a208ed84cd8a2ae5da (diff) | |
| download | rust-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.stderr | 4 |
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 |
