diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2019-11-10 09:27:19 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-10 09:27:19 +0900 |
| commit | 9db3fddfe984418343b2d527288337715a40693c (patch) | |
| tree | 73c9aa811561f136ae0d493c753c7266d10cefeb /src/libsyntax_pos | |
| parent | f16660943322d3fc3c4747eca6e757a3f7d60e50 (diff) | |
| parent | 769d52774b9d94a5120dc34e2ea03971047d1c7c (diff) | |
| download | rust-9db3fddfe984418343b2d527288337715a40693c.tar.gz rust-9db3fddfe984418343b2d527288337715a40693c.zip | |
Rollup merge of #66217 - RalfJung:diagnostic-items, r=Centril
invalid_value lint: use diagnostic items This adjusts the invalid_value lint to use diagnostic items. @Centril @oli-obk For some reason, this fails to recognize `transmute` -- somehow the diagnostic item is not found. Any idea why? r? @Centril Cc https://github.com/rust-lang/rust/issues/66075
Diffstat (limited to 'src/libsyntax_pos')
| -rw-r--r-- | src/libsyntax_pos/symbol.rs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs index ae82ffd6383..f07d56e7ea2 100644 --- a/src/libsyntax_pos/symbol.rs +++ b/src/libsyntax_pos/symbol.rs @@ -418,9 +418,10 @@ symbols! { match_beginning_vert, match_default_bindings, may_dangle, - maybe_uninit, - MaybeUninit, - mem, + maybe_uninit_uninit, + maybe_uninit_zeroed, + mem_uninitialized, + mem_zeroed, member_constraints, message, meta, @@ -713,8 +714,6 @@ symbols! { underscore_imports, underscore_lifetimes, uniform_paths, - uninit, - uninitialized, universal_impl_trait, unmarked_api, unreachable_code, @@ -745,7 +744,6 @@ symbols! { windows, windows_subsystem, Yield, - zeroed, } } |
