@@ -5,7 +5,7 @@ LL | println!("{:?}", t);
5
5
| ^ `impl Sized` cannot be formatted using `{:?}` because it doesn't implement `Debug`
6
6
|
7
7
= note: required by `std::fmt::Debug::fmt`
8
- = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
8
+ = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
9
9
help: consider further restricting this bound
10
10
|
11
11
LL | fn test_impl(t: impl Sized + std::fmt::Debug) {
@@ -18,7 +18,7 @@ LL | println!("{:?}", t);
18
18
| ^ `T` cannot be formatted using `{:?}` because it doesn't implement `Debug`
19
19
|
20
20
= note: required by `std::fmt::Debug::fmt`
21
- = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
21
+ = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
22
22
help: consider restricting type parameter `T`
23
23
|
24
24
LL | fn test_no_bounds<T: std::fmt::Debug>(t: T) {
@@ -31,7 +31,7 @@ LL | println!("{:?}", t);
31
31
| ^ `T` cannot be formatted using `{:?}` because it doesn't implement `Debug`
32
32
|
33
33
= note: required by `std::fmt::Debug::fmt`
34
- = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
34
+ = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
35
35
help: consider further restricting this bound
36
36
|
37
37
LL | fn test_one_bound<T: Sized + std::fmt::Debug>(t: T) {
@@ -44,7 +44,7 @@ LL | println!("{:?} {:?}", x, y);
44
44
| ^ `Y` cannot be formatted using `{:?}` because it doesn't implement `Debug`
45
45
|
46
46
= note: required by `std::fmt::Debug::fmt`
47
- = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
47
+ = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
48
48
help: consider further restricting type parameter `Y`
49
49
|
50
50
LL | fn test_no_bounds_where<X, Y>(x: X, y: Y) where X: std::fmt::Debug, Y: std::fmt::Debug {
@@ -57,7 +57,7 @@ LL | println!("{:?}", x);
57
57
| ^ `X` cannot be formatted using `{:?}` because it doesn't implement `Debug`
58
58
|
59
59
= note: required by `std::fmt::Debug::fmt`
60
- = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
60
+ = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
61
61
help: consider further restricting this bound
62
62
|
63
63
LL | fn test_one_bound_where<X>(x: X) where X: Sized + std::fmt::Debug {
@@ -70,7 +70,7 @@ LL | println!("{:?}", x);
70
70
| ^ `X` cannot be formatted using `{:?}` because it doesn't implement `Debug`
71
71
|
72
72
= note: required by `std::fmt::Debug::fmt`
73
- = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
73
+ = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
74
74
help: consider further restricting type parameter `X`
75
75
|
76
76
LL | fn test_many_bounds_where<X>(x: X) where X: Sized, X: Sized, X: std::fmt::Debug {
0 commit comments