]> git.lizzy.rs Git - rust.git/blob - src/librustc_infer/infer/higher_ranked/README.md
Update const_forget.rs
[rust.git] / src / librustc_infer / infer / higher_ranked / README.md
1 To learn more about how Higher-ranked trait bounds work in the _old_ trait
2 solver, see [this chapter][oldhrtb] of the rustc-guide.
3
4 To learn more about how they work in the _new_ trait solver, see [this
5 chapter][newhrtb].
6
7 [oldhrtb]: https://rust-lang.github.io/rustc-guide/traits/hrtb.html
8 [newhrtb]: https://rust-lang.github.io/rustc-guide/borrow_check/region_inference.html#placeholders-and-universes