Skip to content

Guide: Rename guessing_game.rs to main.rs #16234

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

Merged

Conversation

cakebaker
Copy link
Contributor

Follow-up to #16215

src/guessing_game.rs:7:26: 7:34 error: the type of this value must be known in this context
src/guessing_game.rs:7 let secret_number = (rand::random() % 100i) + 1i;
src/main.rs:7:26: 7:34 error: the type of this value must be known in this context
src/main.rs:7 let secret_number = (rand::random() % 100i) + 1i;
^~~~~~~~
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is now pointing at the wrong place.

Same with the other ^~~~s.

@steveklabnik
Copy link
Member

Thank you so much! r+=me once the ^~~~s get fixed.

@cakebaker
Copy link
Contributor Author

@steveklabnik Fixed, thanks for the hint.

bors added a commit that referenced this pull request Aug 5, 2014
@bors bors closed this Aug 5, 2014
@bors bors merged commit d0bd10b into rust-lang:master Aug 5, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 8, 2024
fix: Fix focus range being discarded in attributes/derives when upmapping

Fixes rust-lang/rust-analyzer#16229
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.

4 participants