diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-20 12:30:16 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-20 12:30:16 -0700 |
| commit | 0897bc2403946f2d07df842292d5a6e2b5e5f4ec (patch) | |
| tree | b4e8494a834bc601abb4466e7b83bc7fbf579155 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 241374a93b4fe45daf2783b78415ba9a7928c790 (diff) | |
| parent | ceac273e60447014038e511e5af43841c359547c (diff) | |
| download | rust-0897bc2403946f2d07df842292d5a6e2b5e5f4ec.tar.gz rust-0897bc2403946f2d07df842292d5a6e2b5e5f4ec.zip | |
Rollup merge of #73323 - davidtwco:issue-73252-wfcheck-foreign-fn-decl, r=ecstatic-morse
wf: check foreign fn decls for well-formedness Fixes #73252 and fixes #73253. This PR extends current well-formedness checking to apply to foreign function declarations, re-using the existing machinery for regular functions. In doing this, later parts of the compiler (such as the `improper_ctypes` lint) can rely on being operations not failing as a result of invalid code which would normally be caught earlier.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
