You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's basically a description of the borrow checking algorithm, and so it's long (1000 lines, one comment block), and having such a document inline at the top of a normal file along with normal code is annoying for people using/manipulating that file (most importantly, the author & maintainer of that portion of the code and documentation (@nikomatsakis) doesn't like it).
(There are two other similar modules, middle/typeck/infer/doc.rs and middle/typeck/infer/region_inference/doc.rs, for the same reason.)
add new lint that disallow renaming parameters in trait functions
fixes: rust-lang#11443fixes: rust-lang#486
changelog: add new lint [`renamed_function_params`]
Note that the lint name is not final, because I have a bad reputation in naming things, and I don't trust myself.
Not sure why: http://static.rust-lang.org/doc/master/rustc/middle/borrowck/index.html
The text was updated successfully, but these errors were encountered: