]> git.lizzy.rs Git - rust.git/blob - src/test/ui/numeric/numeric-cast-without-suggestion.stderr
Auto merge of #81507 - weiznich:add_diesel_to_cargo_test, r=Mark-Simulacrum
[rust.git] / src / test / ui / numeric / numeric-cast-without-suggestion.stderr
1 error[E0308]: mismatched types
2   --> $DIR/numeric-cast-without-suggestion.rs:17:18
3    |
4 LL |     foo::<usize>(x_f64);
5    |                  ^^^^^ expected `usize`, found `f64`
6
7 error[E0308]: mismatched types
8   --> $DIR/numeric-cast-without-suggestion.rs:18:18
9    |
10 LL |     foo::<usize>(x_f32);
11    |                  ^^^^^ expected `usize`, found `f32`
12
13 error[E0308]: mismatched types
14   --> $DIR/numeric-cast-without-suggestion.rs:19:18
15    |
16 LL |     foo::<isize>(x_f64);
17    |                  ^^^^^ expected `isize`, found `f64`
18
19 error[E0308]: mismatched types
20   --> $DIR/numeric-cast-without-suggestion.rs:20:18
21    |
22 LL |     foo::<isize>(x_f32);
23    |                  ^^^^^ expected `isize`, found `f32`
24
25 error[E0308]: mismatched types
26   --> $DIR/numeric-cast-without-suggestion.rs:21:16
27    |
28 LL |     foo::<u64>(x_f64);
29    |                ^^^^^ expected `u64`, found `f64`
30
31 error[E0308]: mismatched types
32   --> $DIR/numeric-cast-without-suggestion.rs:22:16
33    |
34 LL |     foo::<u64>(x_f32);
35    |                ^^^^^ expected `u64`, found `f32`
36
37 error[E0308]: mismatched types
38   --> $DIR/numeric-cast-without-suggestion.rs:23:16
39    |
40 LL |     foo::<i64>(x_f64);
41    |                ^^^^^ expected `i64`, found `f64`
42
43 error[E0308]: mismatched types
44   --> $DIR/numeric-cast-without-suggestion.rs:24:16
45    |
46 LL |     foo::<i64>(x_f32);
47    |                ^^^^^ expected `i64`, found `f32`
48
49 error[E0308]: mismatched types
50   --> $DIR/numeric-cast-without-suggestion.rs:25:16
51    |
52 LL |     foo::<u32>(x_f64);
53    |                ^^^^^ expected `u32`, found `f64`
54
55 error[E0308]: mismatched types
56   --> $DIR/numeric-cast-without-suggestion.rs:26:16
57    |
58 LL |     foo::<u32>(x_f32);
59    |                ^^^^^ expected `u32`, found `f32`
60
61 error[E0308]: mismatched types
62   --> $DIR/numeric-cast-without-suggestion.rs:27:16
63    |
64 LL |     foo::<i32>(x_f64);
65    |                ^^^^^ expected `i32`, found `f64`
66
67 error[E0308]: mismatched types
68   --> $DIR/numeric-cast-without-suggestion.rs:28:16
69    |
70 LL |     foo::<i32>(x_f32);
71    |                ^^^^^ expected `i32`, found `f32`
72
73 error[E0308]: mismatched types
74   --> $DIR/numeric-cast-without-suggestion.rs:29:16
75    |
76 LL |     foo::<u16>(x_f64);
77    |                ^^^^^ expected `u16`, found `f64`
78
79 error[E0308]: mismatched types
80   --> $DIR/numeric-cast-without-suggestion.rs:30:16
81    |
82 LL |     foo::<u16>(x_f32);
83    |                ^^^^^ expected `u16`, found `f32`
84
85 error[E0308]: mismatched types
86   --> $DIR/numeric-cast-without-suggestion.rs:31:16
87    |
88 LL |     foo::<i16>(x_f64);
89    |                ^^^^^ expected `i16`, found `f64`
90
91 error[E0308]: mismatched types
92   --> $DIR/numeric-cast-without-suggestion.rs:32:16
93    |
94 LL |     foo::<i16>(x_f32);
95    |                ^^^^^ expected `i16`, found `f32`
96
97 error[E0308]: mismatched types
98   --> $DIR/numeric-cast-without-suggestion.rs:33:15
99    |
100 LL |     foo::<u8>(x_f64);
101    |               ^^^^^ expected `u8`, found `f64`
102
103 error[E0308]: mismatched types
104   --> $DIR/numeric-cast-without-suggestion.rs:34:15
105    |
106 LL |     foo::<u8>(x_f32);
107    |               ^^^^^ expected `u8`, found `f32`
108
109 error[E0308]: mismatched types
110   --> $DIR/numeric-cast-without-suggestion.rs:35:15
111    |
112 LL |     foo::<i8>(x_f64);
113    |               ^^^^^ expected `i8`, found `f64`
114
115 error[E0308]: mismatched types
116   --> $DIR/numeric-cast-without-suggestion.rs:36:15
117    |
118 LL |     foo::<i8>(x_f32);
119    |               ^^^^^ expected `i8`, found `f32`
120
121 error[E0308]: mismatched types
122   --> $DIR/numeric-cast-without-suggestion.rs:37:16
123    |
124 LL |     foo::<f32>(x_f64);
125    |                ^^^^^ expected `f32`, found `f64`
126
127 error: aborting due to 21 previous errors
128
129 For more information about this error, try `rustc --explain E0308`.