Skip to content

Replace 'crate_id' with 'crate_name' in docs #16540

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

killerswan
Copy link
Contributor

No description provided.

@steveklabnik
Copy link
Member

Thanks! This looks good to me, but I'd like someone else to double check too.

@@ -4283,8 +4283,8 @@ specified then log level 4 is assumed. Debug messages can be omitted
by passing `--cfg ndebug` to `rustc`.

As an example, to see all the logs generated by the compiler, you would set
`RUST_LOG` to `rustc`, which is the crate name (as specified in its `crate_id`
[attribute](#attributes)). To narrow down the logs to just crate resolution,
Copy link
Member

Choose a reason for hiding this comment

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

This seems like fairly valuable information to leave in (but change crate_id to crate_name?)

@alexcrichton
Copy link
Member

Thanks! Just one minor comment

@alexcrichton
Copy link
Member

Closing due to inactivity, but feel free to reopen with comments addressed!

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 18, 2024
internal: macro_arg query always returns a TokenTree
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.

3 participants