about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2020-06-21 20:30:41 +0100
committerDavid Wood <david@davidtw.co>2020-06-24 12:09:39 +0100
commit4504648090a9b8cae909424826dc4190f23df044 (patch)
tree7c5394c9f19b892559f7eaa7f5fe3cad77143945 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent5c8634805cbaed6010e15a15f15e840bd019079a (diff)
downloadrust-4504648090a9b8cae909424826dc4190f23df044.tar.gz
rust-4504648090a9b8cae909424826dc4190f23df044.zip
improper_ctypes: only allow params in defns mode
This commit adjusts the behaviour introduced in a previous commit so
that generic parameters and projections are only allowed in the
definitions mode - and are otherwise a bug. Generic parameters in
declarations are prohibited earlier in the compiler, so if that branch
were reached, it would be a bug.

Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions