Skip to content

Conversation

@catamorphism
Copy link
Contributor

Typestate now entirely uses walk instead of fold; other cleanup as well. With a bonus error message improvement to trans.

Started by rewriting collect_locals to use walk instead of fold
This required quite a bit of tiresome plumbing about of spans.
On the bright side, now other errors can be converted to span_err too.

Includes test cases.
Added visit_fn_pre and visit_fn_post fields that get applied to
both regular functions and methods.
and various other tidying in typestate
@graydon
Copy link
Contributor

graydon commented May 19, 2011

Awesome, thanks. Integrated.

@graydon graydon closed this May 19, 2011
calebzulawski added a commit to calebzulawski/rust that referenced this pull request Feb 17, 2024
celinval added a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
Add support to Ubuntu 18.04 (rust-lang#393)

Issue: Our python scripts use python 3.8+ while ubuntu 18.04 defaults
       to python 3.6.

Changes:
 * Change our scripts to use constructs available in older python versions.
 * Modify workflows file to add ubuntu-18.04.
 * Make ubuntu scripts generic.
 * Change copyright check script to ignore directories and symbolic links to directories.
carolynzech pushed a commit to carolynzech/rust that referenced this pull request Jun 24, 2025
This is an automated PR to update Kani metrics.

The metrics have been updated by running `./scripts/run-kani.sh --run
metrics`.

Co-authored-by: github-merge-queue <[email protected]>
noscripter pushed a commit to noscripter/rust that referenced this pull request Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants