rust-lang / polonius

Defines the Rust borrow checker.
Apache License 2.0
1.35k stars 73 forks source link

Some move errors fixes and tests, and fact updates #144

Closed lqd closed 4 years ago

lqd commented 4 years ago

Some facts are missing on master, so this PR:

Since this PR has a lot of fact files regenerated, it's best reviewed commit by commit with those fact regeneration commits ignored.


Update: I've added some commits which fix some move errors false positives on tracking move/init on paths and subpaths, and a test which would fail without it.

I've also located the source of the other false positives, in rustc fact generation, so after this PR lands and we publish a new release, I'll open the rustc PR, and then update the facts here again.

Also updates polonius-engine to 0.12.1 so we can publish that and work on the rustc PR.