You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/rustdoc-ui/invalid_const_in_lifetime_position.stderr
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ error[E0038]: the trait `X` cannot be made into an object
98
98
LL | fn f<'a>(arg : Box<dyn X<Y<1> = &'a ()>>) {}
99
99
| ^^^^^^^^^^^^^^^^^^^^ `X` cannot be made into an object
100
100
|
101
-
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>
101
+
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#dyn-compatibility>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ `SVec` cannot be made into an object
302
302
|
303
-
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>
303
+
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#dyn-compatibility>
Copy file name to clipboardExpand all lines: tests/ui/associated-consts/associated-const-in-trait.stderr
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ error[E0038]: the trait `Trait` cannot be made into an object
4
4
LL | impl dyn Trait {
5
5
| ^^^^^^^^^ `Trait` cannot be made into an object
6
6
|
7
-
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>
7
+
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#dyn-compatibility>
8
8
--> $DIR/associated-const-in-trait.rs:4:11
9
9
|
10
10
LL | trait Trait {
@@ -19,7 +19,7 @@ error[E0038]: the trait `Trait` cannot be made into an object
19
19
LL | const fn n() -> usize { Self::N }
20
20
| ^^^^ `Trait` cannot be made into an object
21
21
|
22
-
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>
22
+
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#dyn-compatibility>
Copy file name to clipboardExpand all lines: tests/ui/associated-item/issue-48027.stderr
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ error[E0038]: the trait `Bar` cannot be made into an object
4
4
LL | impl dyn Bar {}
5
5
| ^^^^^^^ `Bar` cannot be made into an object
6
6
|
7
-
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>
7
+
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#dyn-compatibility>
0 commit comments