Skip to content

Conversation

catamorphism
Copy link
Contributor

It's still sketchy. I added a typestate annotation field to statements
tagged stmt_decl or stmt_expr, because a stmt_decl statement has a typestate
that's different from that of its child node. This necessitated trivial
changes to a bunch of other files all over to the compiler. I also added a
few small standard library functions, some of which I didn't actually end
up using but which I thought might be useful anyway.

It's still sketchy. I added a typestate annotation field to statements
tagged stmt_decl or stmt_expr, because a stmt_decl statement has a typestate
that's different from that of its child node. This necessitated trivial
changes to a bunch of other files all over to the compiler. I also added a
few small standard library functions, some of which I didn't actually end
up using but which I thought might be useful anyway.
@graydon graydon merged commit 2e90bd9 into rust-lang:master Apr 7, 2011
@graydon
Copy link
Contributor

graydon commented Apr 7, 2011

Integrated.

oli-obk added a commit to oli-obk/rust that referenced this pull request Sep 19, 2017
oli-obk added a commit to oli-obk/rust that referenced this pull request Sep 19, 2017
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this pull request Dec 12, 2017
kazcw pushed a commit to kazcw/rust that referenced this pull request Oct 23, 2018
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this pull request Mar 7, 2023
workingjubilee pushed a commit to workingjubilee/rustc that referenced this pull request May 10, 2023
Add missing pointer tests and rename pointer cast fns to match scalars
antoyo added a commit to antoyo/rust that referenced this pull request Oct 9, 2023
carolynzech pushed a commit to carolynzech/rust that referenced this pull request Apr 17, 2025
Updates the VeriFast proofs after `linked_list.rs` was modified by
rust-lang@c39f33b
.

Also:
- Added a bash script that attempts to automatically patch the proofs
after the original file was changed.
- The VeriFast CI actions now produce an error alert suggesting to run
this script, if a source file that is the subject of a VeriFast proof is
changed.

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
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