Skip to content
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

Use a consistent metavariable for types in the tutorial #2461

Closed
lkuper opened this issue May 29, 2012 · 0 comments
Closed

Use a consistent metavariable for types in the tutorial #2461

lkuper opened this issue May 29, 2012 · 0 comments
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@lkuper
Copy link
Contributor

lkuper commented May 29, 2012

The tutorial sometimes uses T (section 3.5) and sometimes uses TYPE (section 6) as a metavariable for types. Consolidate these (I think we should stick with T).

@lkuper lkuper closed this as completed in 47cba3a May 29, 2012
bors added a commit to rust-lang-ci/rust that referenced this issue Sep 22, 2022
add special exception for std_miri_test crate to call std-only functions

These being the unit tests of std, they have their own copy of `std::sys` and `std::thread`, so the existing check says this is not std.  The check is correct but we want to allow this so we just hard-code the crate name.

The point of this `frame_in_std` check is to prevent people from directly interacting with shims that aren't really properly implemented, but it doesn't need to be 100% airtight. If someone really wants to call their crate `std_miri_test` in order to access some broken shims... they can keep the pieces.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

1 participant