]> git.lizzy.rs Git - rust.git/blob - src/test/ui/trait-bounds/select-param-env-instead-of-blanket.stderr
Rollup merge of #98640 - cuviper:stable-rust-analyzer, r=Mark-Simulacrum
[rust.git] / src / test / ui / trait-bounds / select-param-env-instead-of-blanket.stderr
1 error: internal compiler error
2
3 error: internal compiler error
4                                 encountered ... with incompatible types:
5                                 left-hand side has type: <IntFactory as Factory<T>>::Item
6                                 right-hand side has type: usize
7   --> $DIR/select-param-env-instead-of-blanket.rs:42:5
8    |
9 LL |     let mut x: <IntFactory as Factory<T>>::Item = bar::<T>();
10    |                                                   ---------- in this inlined function call
11 ...
12 LL |     0usize
13    |     ^^^^^^
14    |
15    = note: delayed at compiler/rustc_const_eval/src/transform/validate.rs:128:36
16
17 thread 'rustc' panicked
18