fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.6 KiB38 linesraw
1error: evaluate(Binder { value: TraitPredicate(<MaskedStorage<GenericComp<Pos>> as std::marker::Sized>, polarity:Positive), bound_vars: [] }) = Ok(EvaluatedToOk)
2  --> $DIR/issue-85360-eval-obligation-ice.rs:9:5
3   |
4LL |     test::<MaskedStorage<GenericComp<Pos>>>(make());
5   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6...
7LL | fn test<T: Sized>(_: T) {}
8   |         - predicate
9
10error: evaluate(Binder { value: TraitPredicate(<MaskedStorage<GenericComp<Pos>> as std::marker::Sized>, polarity:Positive), bound_vars: [] }) = Ok(EvaluatedToOk)
11  --> $DIR/issue-85360-eval-obligation-ice.rs:9:5
12   |
13LL |     test::<MaskedStorage<GenericComp<Pos>>>(make());
14   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15...
16LL | fn test<T: Sized>(_: T) {}
17   |            ----- predicate
18
19error: evaluate(Binder { value: TraitPredicate(<MaskedStorage<GenericComp2<Pos>> as std::marker::Sized>, polarity:Positive), bound_vars: [] }) = Ok(EvaluatedToOkModuloRegions)
20  --> $DIR/issue-85360-eval-obligation-ice.rs:13:5
21   |
22LL |     test::<MaskedStorage<GenericComp2<Pos>>>(make());
23   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24...
25LL | fn test<T: Sized>(_: T) {}
26   |         - predicate
27
28error: evaluate(Binder { value: TraitPredicate(<MaskedStorage<GenericComp2<Pos>> as std::marker::Sized>, polarity:Positive), bound_vars: [] }) = Ok(EvaluatedToOkModuloRegions)
29  --> $DIR/issue-85360-eval-obligation-ice.rs:13:5
30   |
31LL |     test::<MaskedStorage<GenericComp2<Pos>>>(make());
32   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33...
34LL | fn test<T: Sized>(_: T) {}
35   |            ----- predicate
36
37error: aborting due to 4 previous errors
38