-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Add deprecation warning for --passes #91717
Conversation
r? @CraftSpider (rust-highfive has picked a reviewer for you, use r? to override) |
r? @jyn514 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a test for the new behavior? It should go in src/test/rustdoc-ui
and test that a warning is emitted when you add // compile-flags: --passes list
at the top` - see https://rustc-dev-guide.rust-lang.org/tests/adding.html#guide-to-the-ui-tests for documentation on how tests work.
Co-authored-by: Joshua Nelson <github@jyn.dev>
@bors r+ Thanks! |
📌 Commit 2b6987d has been approved by |
Add deprecation warning for --passes Issue rust-lang#91713 mentored by `@jyn514`
Add deprecation warning for --passes Issue rust-lang#91713 mentored by ``@jyn514``
…askrgr Rollup of 7 pull requests Successful merges: - rust-lang#91617 (Improve the readability of `List<T>`.) - rust-lang#91640 (Simplify collection of in-band lifetimes) - rust-lang#91682 (rustdoc: Show type layout for type aliases) - rust-lang#91711 (Improve `std::iter::zip` example) - rust-lang#91717 (Add deprecation warning for --passes) - rust-lang#91718 (give more help in the unaligned_references lint) - rust-lang#91782 (Correct since attribute for `is_symlink` feature) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Issue #91713 mentored by @jyn514