]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/infer/lexical_region_resolve/README.md
Update README.md
[rust.git] / src / librustc / infer / lexical_region_resolve / README.md
index 4483e522f3a1f59b40aa56d809903821ff3ac8b4..7eb4da86ec081fb82b144431409186f0da1471f8 100644 (file)
@@ -2,8 +2,12 @@
 
 > WARNING: This README is obsolete and will be removed soon! For
 > more info on how the current borrowck works, see the [rustc guide].
+>
+> As of edition 2018, region inference is done using Non-lexical lifetimes,
+> which is described in the guide and [this RFC].
 
-[rustc guide]: https://rust-lang.github.io/rustc-guide/mir/borrowck.html
+[rustc guide]: https://rust-lang.github.io/rustc-guide/borrow_check/region_inference.html
+[this RFC]: https://github.com/rust-lang/rfcs/blob/master/text/2094-nll.md
 
 ## Terminology