Skip to content

Further work on typestate. Handles expr_rec and expr_assign now. #326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

catamorphism
Copy link
Contributor

Also changed the ts_ann field on statements to be an ann instead,
which explains most of the changes.

As well, got rid of the "warning: no type for expression" error
by filling in annotations for local decls in typeck (not sure whether
this was my fault or not).

Finally, in bitv, added a clone() function to copy a bit vector,
and fixed is_true, is_false, and to_str to not be nonsense.

Also changed the ts_ann field on statements to be an ann instead,
which explains most of the changes.

As well, got rid of the "warning: no type for expression" error
by filling in annotations for local decls in typeck (not sure whether
this was my fault or not).

Finally, in bitv, added a clone() function to copy a bit vector,
and fixed is_true, is_false, and to_str to not be nonsense.
@graydon
Copy link
Contributor

graydon commented Apr 12, 2011

Integrated.

@graydon graydon closed this Apr 12, 2011
@brson brson mentioned this pull request Aug 12, 2014
33 tasks
pcwalton added a commit to pcwalton/rust that referenced this pull request Nov 4, 2014
Unicode characters and strings.

Use `\u0080`-`\u00ff` instead. ASCII/byte literals are unaffected.

This PR introduces a new function, `escape_default`, into the ASCII
module. This was necessary for the pretty printer to continue to
function.

RFC rust-lang#326.

Closes rust-lang#18062.

[breaking-change]
bors added a commit that referenced this pull request Nov 5, 2014
Use `\u0080`-`\u00ff` instead. ASCII/byte literals are unaffected.

This PR introduces a new function, `escape_default`, into the ASCII
module. This was necessary for the pretty printer to continue to
function.

RFC #326.

Closes #18062.

[breaking-change]

r? @aturon
kazcw pushed a commit to kazcw/rust that referenced this pull request Oct 23, 2018
* implemented rdrand and rdseed intrinsics

* added "unsigned short*" case

* moved rdrand from i686 to x86_64

* 64 bit rdrand functions in x86_64, 16 and 32 in i686
dlrobertson pushed a commit to dlrobertson/rust that referenced this pull request Nov 29, 2018
Clarify semantics of auto traits.
antoyo added a commit to antoyo/rust that referenced this pull request Oct 26, 2023
Add support for NonNull function attribute
celinval pushed a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
carolynzech pushed a commit to carolynzech/rust that referenced this pull request Apr 18, 2025
…is up-to-date (rust-lang#326)

When the PR updating the `subtree/library` branch has been merged
already we may still need to bring updates into `main` that haven't
previously been added to a pull request. This situation arises when an
older merge-into-main PR was still open at the time where the subtree
automation creating the `subtree/library` update PR ran.

The changes in this PR avoid this problem by making sure the
merge-into-main part of the automation is run even when
`subtree/library` is already up-to-date.

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