Scott Schafer
Scott Schafer
`[lints.cargo]` should be removed when publishing/packaging to avoid unintentional MSRV bumps, and this PR makes it so the table is removed.
This PR adds a lint for `unknown-lints` similar [`rustc::unknown-lints`](https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#unknown-lints). This will help users know when they are passing something to `cargo` that `cargo` doesn't understand.
Currently, sub-diagnostics are handled by adding [`Annotation`'s](https://github.com/rust-lang/annotate-snippets-rs/blob/027c95b74cb74c1c5880a7d316abcbd743190260/src/snippet.rs#L80) to [`Snippet::footer`](https://github.com/rust-lang/annotate-snippets-rs/blob/027c95b74cb74c1c5880a7d316abcbd743190260/src/snippet.rs#L38). This system is _fine_, but it does not support sub-diagnostics with a span. This is needed for `rust` adoption as [`Subdiag`](https://github.com/rust-lang/rust/blob/5257aee7dd163d21d32fa904578d4fb0f4c91b79/compiler/rustc_errors/src/diagnostic.rs#L470-L477)...
Currently, there is no way to emit a [suggestion](https://rustc-dev-guide.rust-lang.org/diagnostics.html#suggestions) about some source in the same style as [`rustc_errors`](https://github.com/rust-lang/rust/blob/5257aee7dd163d21d32fa904578d4fb0f4c91b79/compiler/rustc_errors/src/emitter.rs#L1707-L1707). We will need to support [additions/removals](https://github.com/rust-lang/rust/blob/5257aee7dd163d21d32fa904578d4fb0f4c91b79/compiler/rustc_errors/src/emitter.rs#L1784-L1802) for this to work. These could...
This repository currently does not have a LICENSE file (https://github.com/rust-lang/docker-rust/issues/12). We would like to license the code in this repository under the dual MIT/Apache-2.0 license, which is a standard dual...