|
1 | 1 | error[E0277]: the trait bound `dyn MyTrait: Clone` is not satisfied
|
2 |
| - --> tests/ui/missing-supertrait.rs:3:1 |
3 |
| - | |
4 |
| -3 | dyn_clone::clone_trait_object!(MyTrait); |
5 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
6 |
| - | | |
7 |
| - | the trait `Clone` is not implemented for `dyn MyTrait` |
8 |
| - | required by a bound introduced by this call |
9 |
| - | |
10 |
| - = help: the following other types implement trait `DynClone`: |
11 |
| - [T] |
12 |
| - str |
13 |
| - = note: required for `dyn MyTrait` to implement `DynClone` |
| 2 | + --> tests/ui/missing-supertrait.rs:3:1 |
| 3 | + | |
| 4 | +3 | dyn_clone::clone_trait_object!(MyTrait); |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 6 | + | | |
| 7 | + | the trait `Clone` is not implemented for `dyn MyTrait` |
| 8 | + | required by a bound introduced by this call |
| 9 | + | |
| 10 | + = help: the following other types implement trait `DynClone`: |
| 11 | + [T] |
| 12 | + str |
| 13 | + = note: required for `dyn MyTrait` to implement `DynClone` |
14 | 14 | note: required by a bound in `clone_box`
|
15 |
| - --> src/lib.rs |
16 |
| - | |
17 |
| - | T: ?Sized + DynClone, |
18 |
| - | ^^^^^^^^ required by this bound in `clone_box` |
19 |
| - = note: this error originates in the macro `$crate::__internal_clone_trait_object` which comes from the expansion of the macro `dyn_clone::clone_trait_object` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 15 | + --> src/lib.rs |
| 16 | + | |
| 17 | + | T: ?Sized + DynClone, |
| 18 | + | ^^^^^^^^ required by this bound in `clone_box` |
| 19 | + = note: this error originates in the macro `$crate::__internal_clone_trait_object` which comes from the expansion of the macro `dyn_clone::clone_trait_object` (in Nightly builds, run with -Z macro-backtrace for more info) |
20 | 20 |
|
21 | 21 | error[E0277]: the trait bound `dyn MyTrait + Send: Clone` is not satisfied
|
22 |
| - --> tests/ui/missing-supertrait.rs:3:1 |
23 |
| - | |
24 |
| -3 | dyn_clone::clone_trait_object!(MyTrait); |
25 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
26 |
| - | | |
27 |
| - | the trait `Clone` is not implemented for `dyn MyTrait + Send` |
28 |
| - | required by a bound introduced by this call |
29 |
| - | |
30 |
| - = help: the following other types implement trait `DynClone`: |
31 |
| - [T] |
32 |
| - str |
33 |
| - = note: required for `dyn MyTrait + Send` to implement `DynClone` |
| 22 | + --> tests/ui/missing-supertrait.rs:3:1 |
| 23 | + | |
| 24 | +3 | dyn_clone::clone_trait_object!(MyTrait); |
| 25 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 26 | + | | |
| 27 | + | the trait `Clone` is not implemented for `dyn MyTrait + Send` |
| 28 | + | required by a bound introduced by this call |
| 29 | + | |
| 30 | + = help: the following other types implement trait `DynClone`: |
| 31 | + [T] |
| 32 | + str |
| 33 | + = note: required for `dyn MyTrait + Send` to implement `DynClone` |
34 | 34 | note: required by a bound in `clone_box`
|
35 |
| - --> src/lib.rs |
36 |
| - | |
37 |
| - | T: ?Sized + DynClone, |
38 |
| - | ^^^^^^^^ required by this bound in `clone_box` |
39 |
| - = note: this error originates in the macro `$crate::__internal_clone_trait_object` which comes from the expansion of the macro `dyn_clone::clone_trait_object` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 35 | + --> src/lib.rs |
| 36 | + | |
| 37 | + | T: ?Sized + DynClone, |
| 38 | + | ^^^^^^^^ required by this bound in `clone_box` |
| 39 | + = note: this error originates in the macro `$crate::__internal_clone_trait_object` which comes from the expansion of the macro `dyn_clone::clone_trait_object` (in Nightly builds, run with -Z macro-backtrace for more info) |
40 | 40 |
|
41 | 41 | error[E0277]: the trait bound `dyn MyTrait + Sync: Clone` is not satisfied
|
42 |
| - --> tests/ui/missing-supertrait.rs:3:1 |
43 |
| - | |
44 |
| -3 | dyn_clone::clone_trait_object!(MyTrait); |
45 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
46 |
| - | | |
47 |
| - | the trait `Clone` is not implemented for `dyn MyTrait + Sync` |
48 |
| - | required by a bound introduced by this call |
49 |
| - | |
50 |
| - = help: the following other types implement trait `DynClone`: |
51 |
| - [T] |
52 |
| - str |
53 |
| - = note: required for `dyn MyTrait + Sync` to implement `DynClone` |
| 42 | + --> tests/ui/missing-supertrait.rs:3:1 |
| 43 | + | |
| 44 | +3 | dyn_clone::clone_trait_object!(MyTrait); |
| 45 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 46 | + | | |
| 47 | + | the trait `Clone` is not implemented for `dyn MyTrait + Sync` |
| 48 | + | required by a bound introduced by this call |
| 49 | + | |
| 50 | + = help: the following other types implement trait `DynClone`: |
| 51 | + [T] |
| 52 | + str |
| 53 | + = note: required for `dyn MyTrait + Sync` to implement `DynClone` |
54 | 54 | note: required by a bound in `clone_box`
|
55 |
| - --> src/lib.rs |
56 |
| - | |
57 |
| - | T: ?Sized + DynClone, |
58 |
| - | ^^^^^^^^ required by this bound in `clone_box` |
59 |
| - = note: this error originates in the macro `$crate::__internal_clone_trait_object` which comes from the expansion of the macro `dyn_clone::clone_trait_object` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 55 | + --> src/lib.rs |
| 56 | + | |
| 57 | + | T: ?Sized + DynClone, |
| 58 | + | ^^^^^^^^ required by this bound in `clone_box` |
| 59 | + = note: this error originates in the macro `$crate::__internal_clone_trait_object` which comes from the expansion of the macro `dyn_clone::clone_trait_object` (in Nightly builds, run with -Z macro-backtrace for more info) |
60 | 60 |
|
61 | 61 | error[E0277]: the trait bound `dyn MyTrait + Send + Sync: Clone` is not satisfied
|
62 |
| - --> tests/ui/missing-supertrait.rs:3:1 |
63 |
| - | |
64 |
| -3 | dyn_clone::clone_trait_object!(MyTrait); |
65 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
66 |
| - | | |
67 |
| - | the trait `Clone` is not implemented for `dyn MyTrait + Send + Sync` |
68 |
| - | required by a bound introduced by this call |
69 |
| - | |
70 |
| - = help: the following other types implement trait `DynClone`: |
71 |
| - [T] |
72 |
| - str |
73 |
| - = note: required for `dyn MyTrait + Send + Sync` to implement `DynClone` |
| 62 | + --> tests/ui/missing-supertrait.rs:3:1 |
| 63 | + | |
| 64 | +3 | dyn_clone::clone_trait_object!(MyTrait); |
| 65 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 66 | + | | |
| 67 | + | the trait `Clone` is not implemented for `dyn MyTrait + Send + Sync` |
| 68 | + | required by a bound introduced by this call |
| 69 | + | |
| 70 | + = help: the following other types implement trait `DynClone`: |
| 71 | + [T] |
| 72 | + str |
| 73 | + = note: required for `dyn MyTrait + Send + Sync` to implement `DynClone` |
74 | 74 | note: required by a bound in `clone_box`
|
75 |
| - --> src/lib.rs |
76 |
| - | |
77 |
| - | T: ?Sized + DynClone, |
78 |
| - | ^^^^^^^^ required by this bound in `clone_box` |
79 |
| - = note: this error originates in the macro `$crate::__internal_clone_trait_object` which comes from the expansion of the macro `dyn_clone::clone_trait_object` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 75 | + --> src/lib.rs |
| 76 | + | |
| 77 | + | T: ?Sized + DynClone, |
| 78 | + | ^^^^^^^^ required by this bound in `clone_box` |
| 79 | + = note: this error originates in the macro `$crate::__internal_clone_trait_object` which comes from the expansion of the macro `dyn_clone::clone_trait_object` (in Nightly builds, run with -Z macro-backtrace for more info) |
0 commit comments