|
| 1 | +error[E0277]: the trait bound `T: Foo` is not satisfied |
| 2 | + --> $DIR/deep-norm-pending.rs:15:5 |
| 3 | + | |
| 4 | +LL | fn method() {} |
| 5 | + | ^^^^^^^^^^^ the trait `Foo` is not implemented for `T` |
| 6 | + | |
| 7 | +help: consider further restricting type parameter `T` with trait `Foo` |
| 8 | + | |
| 9 | +LL | <T as Foo>::Assoc: Sized, T: Foo |
| 10 | + | ++++++ |
| 11 | + |
| 12 | +error[E0277]: the trait bound `T: Foo` is not satisfied |
| 13 | + --> $DIR/deep-norm-pending.rs:9:1 |
| 14 | + | |
| 15 | +LL | / impl<T> Bar for T |
| 16 | +LL | | |
| 17 | +LL | | |
| 18 | +LL | | where |
| 19 | +LL | | <T as Foo>::Assoc: Sized, |
| 20 | + | |_____________________________^ the trait `Foo` is not implemented for `T` |
| 21 | + | |
| 22 | +help: consider further restricting type parameter `T` with trait `Foo` |
| 23 | + | |
| 24 | +LL | <T as Foo>::Assoc: Sized, T: Foo |
| 25 | + | ++++++ |
| 26 | + |
| 27 | +error[E0277]: the trait bound `T: Foo` is not satisfied |
| 28 | + --> $DIR/deep-norm-pending.rs:9:1 |
| 29 | + | |
| 30 | +LL | / impl<T> Bar for T |
| 31 | +LL | | |
| 32 | +LL | | |
| 33 | +LL | | where |
| 34 | +... | |
| 35 | +LL | | } |
| 36 | + | |_^ the trait `Foo` is not implemented for `T` |
| 37 | + | |
| 38 | +help: consider further restricting type parameter `T` with trait `Foo` |
| 39 | + | |
| 40 | +LL | <T as Foo>::Assoc: Sized, T: Foo |
| 41 | + | ++++++ |
| 42 | + |
| 43 | +error[E0277]: the trait bound `T: Foo` is not satisfied |
| 44 | + --> $DIR/deep-norm-pending.rs:15:5 |
| 45 | + | |
| 46 | +LL | fn method() {} |
| 47 | + | ^^^^^^^^^^^ the trait `Foo` is not implemented for `T` |
| 48 | + | |
| 49 | + = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no` |
| 50 | +help: consider further restricting type parameter `T` with trait `Foo` |
| 51 | + | |
| 52 | +LL | <T as Foo>::Assoc: Sized, T: Foo |
| 53 | + | ++++++ |
| 54 | + |
| 55 | +error[E0277]: the trait bound `T: Foo` is not satisfied |
| 56 | + --> $DIR/deep-norm-pending.rs:15:5 |
| 57 | + | |
| 58 | +LL | fn method() {} |
| 59 | + | ^^^^^^^^^^^ the trait `Foo` is not implemented for `T` |
| 60 | + | |
| 61 | +note: required for `T` to implement `Bar` |
| 62 | + --> $DIR/deep-norm-pending.rs:9:9 |
| 63 | + | |
| 64 | +LL | impl<T> Bar for T |
| 65 | + | ^^^ ^ |
| 66 | +... |
| 67 | +LL | <T as Foo>::Assoc: Sized, |
| 68 | + | ----- unsatisfied trait bound introduced here |
| 69 | +help: consider further restricting type parameter `T` with trait `Foo` |
| 70 | + | |
| 71 | +LL | <T as Foo>::Assoc: Sized, T: Foo |
| 72 | + | ++++++ |
| 73 | + |
| 74 | +error[E0277]: the trait bound `T: Foo` is not satisfied |
| 75 | + --> $DIR/deep-norm-pending.rs:15:5 |
| 76 | + | |
| 77 | +LL | fn method() {} |
| 78 | + | ^^^^^^^^^^^ the trait `Foo` is not implemented for `T` |
| 79 | + | |
| 80 | + = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no` |
| 81 | +help: consider further restricting type parameter `T` with trait `Foo` |
| 82 | + | |
| 83 | +LL | <T as Foo>::Assoc: Sized, T: Foo |
| 84 | + | ++++++ |
| 85 | + |
| 86 | +error[E0277]: the trait bound `T: Foo` is not satisfied |
| 87 | + --> $DIR/deep-norm-pending.rs:6:20 |
| 88 | + | |
| 89 | +LL | fn method() -> impl Sized; |
| 90 | + | ^^^^^^^^^^ the trait `Foo` is not implemented for `T` |
| 91 | + | |
| 92 | +note: required for `T` to implement `Bar` |
| 93 | + --> $DIR/deep-norm-pending.rs:9:9 |
| 94 | + | |
| 95 | +LL | impl<T> Bar for T |
| 96 | + | ^^^ ^ |
| 97 | +... |
| 98 | +LL | <T as Foo>::Assoc: Sized, |
| 99 | + | ----- unsatisfied trait bound introduced here |
| 100 | +help: consider further restricting type parameter `T` with trait `Foo` |
| 101 | + | |
| 102 | +LL | <T as Foo>::Assoc: Sized, T: Foo |
| 103 | + | ++++++ |
| 104 | + |
| 105 | +error[E0277]: the trait bound `T: Foo` is not satisfied |
| 106 | + --> $DIR/deep-norm-pending.rs:15:5 |
| 107 | + | |
| 108 | +LL | fn method() {} |
| 109 | + | ^^^^^^^^^^^ the trait `Foo` is not implemented for `T` |
| 110 | + | |
| 111 | + = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no` |
| 112 | +help: consider further restricting type parameter `T` with trait `Foo` |
| 113 | + | |
| 114 | +LL | <T as Foo>::Assoc: Sized, T: Foo |
| 115 | + | ++++++ |
| 116 | + |
| 117 | +error[E0277]: the trait bound `T: Foo` is not satisfied |
| 118 | + --> $DIR/deep-norm-pending.rs:15:8 |
| 119 | + | |
| 120 | +LL | fn method() {} |
| 121 | + | ^^^^^^ the trait `Foo` is not implemented for `T` |
| 122 | + | |
| 123 | +help: consider further restricting type parameter `T` with trait `Foo` |
| 124 | + | |
| 125 | +LL | <T as Foo>::Assoc: Sized, T: Foo |
| 126 | + | ++++++ |
| 127 | + |
| 128 | +error: aborting due to 9 previous errors |
| 129 | + |
| 130 | +For more information about this error, try `rustc --explain E0277`. |
0 commit comments