File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/doc/rustc-dev-guide/src/solve Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ fn overflow<T: Trait>() {
94
94
}
95
95
```
96
96
97
- This preference causes a lot of issues. See https://github.com/rust-lang/rust/issues/ 24066 . Most of the
97
+ This preference causes a lot of issues. See [ # 24066 ] . Most of the
98
98
issues are caused by prefering where-bounds over impls even if the where-bound guides type inference:
99
99
``` rust
100
100
trait Trait <T > {
@@ -423,4 +423,5 @@ where
423
423
[ `fn merge_trait_candidates` ] : https://github.com/rust-lang/rust/blob/e3ee7f7aea5b45af3b42b5e4713da43876a65ac9/compiler/rustc_next_trait_solver/src/solve/trait_goals.rs#L1342-L1424
424
424
[ `fn assemble_and_merge_candidates` ] : https://github.com/rust-lang/rust/blob/e3ee7f7aea5b45af3b42b5e4713da43876a65ac9/compiler/rustc_next_trait_solver/src/solve/assembly/mod.rs#L920-L1003
425
425
[ trait-system-refactor-initiative#76 ] : https://github.com/rust-lang/trait-system-refactor-initiative/issues/76
426
+ [ #24066 ] : https://github.com/rust-lang/rust/issues/24066
426
427
[ #133044 ] : https://github.com/rust-lang/rust/issues/133044
You can’t perform that action at this time.
0 commit comments