about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-02-05 12:25:59 +0100
committerGitHub <noreply@github.com>2021-02-05 12:25:59 +0100
commite98e42b881227113979092fb48a3096a115d2217 (patch)
tree57293086b546bf4ea37fd339acdb71a379dc0c2b /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent2451bf90db0b17c5f3cb8010d76730048a405c56 (diff)
parent3106de5f2a0983f617433d6e3429ff1a90d71f8d (diff)
downloadrust-e98e42b881227113979092fb48a3096a115d2217.tar.gz
rust-e98e42b881227113979092fb48a3096a115d2217.zip
Rollup merge of #81500 - CraftSpider:union-kind, r=jyn514
Remove struct_type from union output

Also bumps the format number and adds a test

Rationale: It's illegal to have unions of the form `union Union(i32, f32);`, or `union Union;`. The struct_type field was recently removed from the rustdoc Union AST, at which time this field was changed to always just read "union". It makes sense to completely remove it, as it provides no information.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions