fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
949 B32 linesraw
1error: OK
2  --> $DIR/dep-graph-trait-impl.rs:27:5
3   |
4LL |     #[rustc_then_this_would_need(typeck_tables_of)]
5   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7error: OK
8  --> $DIR/dep-graph-trait-impl.rs:32:5
9   |
10LL |     #[rustc_then_this_would_need(typeck_tables_of)]
11   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: OK
14  --> $DIR/dep-graph-trait-impl.rs:37:5
15   |
16LL |     #[rustc_then_this_would_need(typeck_tables_of)]
17   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
19error: OK
20  --> $DIR/dep-graph-trait-impl.rs:42:5
21   |
22LL |     #[rustc_then_this_would_need(typeck_tables_of)]
23   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25error: no path from `x::<impl Foo for char>` to `typeck_tables_of`
26  --> $DIR/dep-graph-trait-impl.rs:55:5
27   |
28LL |     #[rustc_then_this_would_need(typeck_tables_of)]
29   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30
31error: aborting due to 5 previous errors
32