Skip to content
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

Remove support for compiler plugins. #116412

Merged
merged 2 commits into from
Nov 4, 2023

Commits on Nov 3, 2023

  1. Update rust-lang/book.

    To 5b6c1ceaa62ecbd6caef08df39b33b3938e99deb, for this commit:
    
    - Prepare for removal of compiler plugin support. (rust-lang/book#3764)
    nnethercote committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    ab161d1 View commit details
    Browse the repository at this point in the history
  2. Remove support for compiler plugins.

    They've been deprecated for four years.
    
    This commit includes the following changes.
    - It eliminates the `rustc_plugin_impl` crate.
    - It changes the language used for lints in
      `compiler/rustc_driver_impl/src/lib.rs` and
      `compiler/rustc_lint/src/context.rs`. External lints are now called
      "loaded" lints, rather than "plugins" to avoid confusion with the old
      plugins. This only has a tiny effect on the output of `-W help`.
    - E0457 and E0498 are no longer used.
    - E0463 is narrowed, now only relating to unfound crates, not plugins.
    - The `plugin` feature was moved from "active" to "removed".
    - It removes the entire plugins chapter from the unstable book.
    - It removes quite a few tests, mostly all of those in
      `tests/ui-fulldeps/plugin/`.
    
    Closes rust-lang#29597.
    nnethercote committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    5c462a3 View commit details
    Browse the repository at this point in the history