diff options
| author | P1start <rewi-github@whanau.org> | 2014-11-30 21:33:04 +1300 |
|---|---|---|
| committer | P1start <rewi-github@whanau.org> | 2014-11-30 21:33:04 +1300 |
| commit | 63553a10adc8b507edee1fce43f868d93628ce34 (patch) | |
| tree | b5161799251d404d1d79786c7e2dfdc2da794ede /src/rustllvm/RustWrapper.cpp | |
| parent | 8d8f41b75f9bec7c7676122f85e049e7d7933298 (diff) | |
| download | rust-63553a10adc8b507edee1fce43f868d93628ce34.tar.gz rust-63553a10adc8b507edee1fce43f868d93628ce34.zip | |
Fix the ordering of `unsafe` and `extern` in methods
This breaks code that looks like this:
trait Foo {
extern "C" unsafe fn foo();
}
impl Foo for Bar {
extern "C" unsafe fn foo() { ... }
}
Change such code to look like this:
trait Foo {
unsafe extern "C" fn foo();
}
impl Foo for Bar {
unsafe extern "C" fn foo() { ... }
}
Fixes #19398.
[breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
