diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2016-05-07 15:35:17 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2016-05-07 15:35:17 -0400 |
| commit | a8162171fdc1a0400f340454ebbca8aa4cd90007 (patch) | |
| tree | 953a214e7272564c43654a953e3c20d64fd2aa89 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | b651b2c8af0bb98557a4f283a878c65b5ce25fc7 (diff) | |
| parent | b75f81c9b3f996100c72f9141dcf6161f8fc90f4 (diff) | |
| download | rust-a8162171fdc1a0400f340454ebbca8aa4cd90007.tar.gz rust-a8162171fdc1a0400f340454ebbca8aa4cd90007.zip | |
Rollup merge of #33336 - birkenfeld:issue-27361, r=sfackler
parser: do not try to continue with `unsafe` on foreign fns The changed line makes it look like `unsafe` is allowed, but the first statement of `parse_item_foreign_fn` is: ``` self.expect_keyword(keywords::Fn)?; ``` So we get the strange "expected one of `fn`, `pub`, `static`, or `unsafe`, found `unsafe`". Fixes: #27361
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
