-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add result sanity check to
is_to_be_inferred
.
This version of `is_to_be_inferred` double-checks the result from `inferred_map` by querying the `named_region_map` and `ast_map` and then asserts that the `inferred_map` state is consistent with its own findings. (See issue 13261 for further discussion of the approaches).
- Loading branch information
Showing
1 changed file
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3099451
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from nikomatsakis
at pnkfelix@3099451
3099451
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging pnkfelix/rust/fsk-fix-12856 = 30994510 into auto
3099451
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pnkfelix/rust/fsk-fix-12856 = 30994510 merged ok, testing candidate = 99c258c
3099451
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/5297
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/5293
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/4386
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/4399
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5395
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/4482
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4490
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/5397
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/4482
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/4488
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/4552
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2282
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/5392
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/4489
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4502
3099451
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 99c258c