Skip to content

Commit 0eae976

Browse files
manual bless
1 parent 37967d9 commit 0eae976

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

tests/ui/methods/method-not-found-generic-arg-elision.stderr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ error[E0599]: no method named `extend` found for struct `Map` in the current sco
2424
|
2525
LL | v.iter().map(Box::new(|x| x * x) as Box<dyn Fn(&i32) -> i32>).extend(std::iter::once(100));
2626
| ^^^^^^ method not found in `Map<Iter<'_, i32>, Box<dyn Fn(&i32) -> i32>>`
27-
|
28-
= note: the full type name has been written to '$TEST_BUILD_DIR/methods/method-not-found-generic-arg-elision/method-not-found-generic-arg-elision.long-type-11847890071882761621.txt'
2927

3028
error[E0599]: no method named `method` found for struct `Wrapper<bool>` in the current scope
3129
--> $DIR/method-not-found-generic-arg-elision.rs:90:13

tests/ui/typeck/issue-31173.stderr

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,14 @@ LL | | .cloned()
3434
LL | | .collect();
3535
| | -^^^^^^^ method cannot be called due to unsatisfied trait bounds
3636
| |_________|
37-
|
37+
|
3838
--> $SRC_DIR/core/src/iter/adapters/take_while.rs:LL:COL
3939
|
4040
= note: doesn't satisfy `<_ as Iterator>::Item = &_`
4141
--> $SRC_DIR/core/src/iter/adapters/cloned.rs:LL:COL
4242
|
4343
= note: doesn't satisfy `_: Iterator`
4444
|
45-
= note: the full type name has been written to '$TEST_BUILD_DIR/typeck/issue-31173/issue-31173.long-type-1298596514340768542.txt'
4645
= note: the following trait bounds were not satisfied:
4746
`<TakeWhile<&mut std::vec::IntoIter<u8>, [closure@$DIR/issue-31173.rs:7:21: 7:25]> as Iterator>::Item = &_`
4847
which is required by `Cloned<TakeWhile<&mut std::vec::IntoIter<u8>, [closure@$DIR/issue-31173.rs:7:21: 7:25]>>: Iterator`

0 commit comments

Comments
 (0)