From: kennytm Date: Thu, 16 Aug 2018 16:13:26 +0000 (+0800) Subject: Rollup merge of #53395 - varkor:__Nonexhaustive-to-non_exhaustive, r=shepmaster X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=6e98ed9650dd392adbfe0b973e03964d0d069863;p=rust.git Rollup merge of #53395 - varkor:__Nonexhaustive-to-non_exhaustive, r=shepmaster Use #[non_exhaustive] on internal enums This replaces `__Nonexhaustive` variants (and variants thereof) with `#[non_exhaustive]`. These were mostly unstable previously, with the exception of the `cloudabi` enums and `Level` in proc_macro: these were `#[doc(hidden)]`, so clearly intended not to be used directly. It should be safe to replace all of these. --- 6e98ed9650dd392adbfe0b973e03964d0d069863