diff options
| author | ljedrz <ljedrz@gmail.com> | 2018-07-12 13:50:22 +0200 |
|---|---|---|
| committer | ljedrz <ljedrz@gmail.com> | 2018-07-12 13:50:22 +0200 |
| commit | 5058af70039d4cf417f6cc94617da7b5d647182a (patch) | |
| tree | 97f34ccd702f876207199d70bc5fb02217ed3bca /src/librustc_plugin | |
| parent | c946c2539e9690fab5dbf7ac217ec696ac263cf3 (diff) | |
| download | rust-5058af70039d4cf417f6cc94617da7b5d647182a.tar.gz rust-5058af70039d4cf417f6cc94617da7b5d647182a.zip | |
Deny bare trait objects in the rest of rust
Diffstat (limited to 'src/librustc_plugin')
| -rw-r--r-- | src/librustc_plugin/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc_plugin/lib.rs b/src/librustc_plugin/lib.rs index 348aa6a7cef..b2c492f204f 100644 --- a/src/librustc_plugin/lib.rs +++ b/src/librustc_plugin/lib.rs @@ -60,6 +60,8 @@ //! See the [`plugin` feature](../unstable-book/language-features/plugin.html) of //! the Unstable Book for more examples. +#![deny(bare_trait_objects)] + #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", html_favicon_url = "https://doc.rust-lang.org/favicon.ico", html_root_url = "https://doc.rust-lang.org/nightly/")] |
