This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 9b4db69
committed
Auto merge of rust-lang#73176 - LeSeulArtichaut:tyctxtat-err, r=eddyb
Add `TyCtxtAt::{ty_error, ty_error_with_message}`
~~Only e2d957d was added, the rest comes from rust-lang#70551.~~
I was unsure where to put the implementation for those methods, please tell me if there is a better place for it.
Closes rust-lang#72619, ~~blocked on rust-lang#70551~~.
r? @eddyb cc @mark-i-m, maybe this should be part of rust-lang#70551? If so feel free to cherry-pick or ask me to file a PR against your fork.1 file changed
+19
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
2615 | 2616 | | |
2616 | 2617 | | |
2617 | 2618 | | |
| 2619 | + | |
| 2620 | + | |
| 2621 | + | |
| 2622 | + | |
| 2623 | + | |
| 2624 | + | |
| 2625 | + | |
| 2626 | + | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
| 2630 | + | |
| 2631 | + | |
| 2632 | + | |
| 2633 | + | |
2618 | 2634 | | |
2619 | 2635 | | |
2620 | 2636 | | |
| |||
0 commit comments