Urgau
Urgau
This PR adds some (very conservative) documentation for a new compiletest directive regarding check-cfg; as well as documentation regarding the use of the `FALSE` cfg as convention for an always-false...
This PR stabilize the `-Zcheck-cfg` option as always enabled. ~~Waiting on https://github.com/rust-lang/rust/issues/82450#issuecomment-1965328542 to complete, but is otherwise ready to be reviewed (in particular the documentation changes).~~ (https://github.com/rust-lang/rust/pull/123501) Fixes https://github.com/rust-lang/cargo/issues/10554
# Proposal The `--check-cfg` flag allows `rustc` to lint on unexpected cfgs in source code, but source code is not the only place where cfgs appear and are used. They...
This PR improves (or at least tries to improve) the diagnostic output the `non_local_definitions` lint, by simplifying the wording, by adding a "sort of" explanation of bounds interaction that leak...
With PR https://github.com/rust-lang/rust/pull/124939, rustdoc hides in the "Aliased type" section of type alias every type that is not from the current crate. However if we had access in rustdoc to...
### What does this PR try to resolve? The current `git::use_the_cli` test part the output of Git but that output is locale dependant, making it fail on my non-english system....
### What does this PR try to resolve? This PR makes the `level` field in the individual lint under the `[lints]` optional if some other key (except `priority` since it...
Rust [RFC 3373: Avoid non-local definitions in functions](https://github.com/rust-lang/rfcs/pull/3373) was accepted and it's implementation at https://github.com/rust-lang/rust/pull/120393 found that this crate would be affected by it. To be more precise users of...
With the release of rust-lang/cargo#13913 (in nightly-2024-05-19), there is no longer any need for the kind of workarounds employed in [#6538](https://github.com/tokio-rs/tokio/pull/6538). Cargo has gain the ability to declare `--check-cfg` args...