1 error[E0599]: no method named `distance` found for struct `Point<i32>` in the current scope
2 --> $DIR/method-not-found-generic-arg-elision.rs:82:23
5 | --------------- method `distance` not found for this struct
7 LL | let d = point_i32.distance();
8 | ^^^^^^^^ method not found in `Point<i32>`
10 = note: the method was found for
13 error[E0599]: no method named `other` found for struct `Point` in the current scope
14 --> $DIR/method-not-found-generic-arg-elision.rs:84:23
16 LL | struct Point<T> {
17 | --------------- method `other` not found for this struct
19 LL | let d = point_i32.other();
20 | ^^^^^ method not found in `Point<i32>`
22 error[E0599]: no method named `extend` found for struct `Map` in the current scope
23 --> $DIR/method-not-found-generic-arg-elision.rs:87:29
25 LL | v.iter().map(|x| x * x).extend(std::iter::once(100));
26 | ^^^^^^ method not found in `Map<Iter<'_, i32>, [closure@method-not-found-generic-arg-elision.rs:87:18]>`
28 error[E0599]: no method named `method` found for struct `Wrapper<bool>` in the current scope
29 --> $DIR/method-not-found-generic-arg-elision.rs:90:13
31 LL | struct Wrapper<T>(T);
32 | ----------------- method `method` not found for this struct
34 LL | wrapper.method();
35 | ^^^^^^ method not found in `Wrapper<bool>`
37 = note: the method was found for
44 error[E0599]: no method named `other` found for struct `Wrapper` in the current scope
45 --> $DIR/method-not-found-generic-arg-elision.rs:92:13
47 LL | struct Wrapper<T>(T);
48 | ----------------- method `other` not found for this struct
51 | ^^^^^ method not found in `Wrapper<bool>`
53 error[E0599]: no method named `method` found for struct `Wrapper2<'_, bool, 3>` in the current scope
54 --> $DIR/method-not-found-generic-arg-elision.rs:96:13
56 LL | struct Wrapper2<'a, T, const C: usize> {
57 | -------------------------------------- method `method` not found for this struct
59 LL | wrapper.method();
60 | ^^^^^^ method not found in `Wrapper2<'_, bool, 3>`
62 = note: the method was found for
63 - `Wrapper2<'a, i8, C>`
64 - `Wrapper2<'a, i16, C>`
65 - `Wrapper2<'a, i32, C>`
67 error[E0599]: no method named `other` found for struct `Wrapper2` in the current scope
68 --> $DIR/method-not-found-generic-arg-elision.rs:98:13
70 LL | struct Wrapper2<'a, T, const C: usize> {
71 | -------------------------------------- method `other` not found for this struct
74 | ^^^^^ method not found in `Wrapper2<'_, bool, 3>`
76 error[E0599]: no method named `not_found` found for struct `Vec<{integer}>` in the current scope
77 --> $DIR/method-not-found-generic-arg-elision.rs:101:7
80 | ^^^^^^^^^ method not found in `Vec<{integer}>`
82 error[E0599]: the method `method` exists for struct `Struct<f64>`, but its trait bounds were not satisfied
83 --> $DIR/method-not-found-generic-arg-elision.rs:104:7
85 LL | struct Struct<T> {
86 | ---------------- method `method` not found for this struct
89 | ^^^^^^ method cannot be called on `Struct<f64>` due to unsatisfied trait bounds
91 = note: the following trait bounds were not satisfied:
95 error: aborting due to 9 previous errors
97 For more information about this error, try `rustc --explain E0599`.