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