| commit | 836341a6435cbfd518f614b41fd91d787ba245d4 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Sun Nov 15 14:49:05 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Sun Nov 15 14:49:05 2020 -0800 |
| tree | 2ec92014e772b18ffb37531f290e3f406313263e | |
| parent | 5e0d82f59d12c83b13744cac9e8a3c9818d96ef5 [diff] |
Fix conflict between pr 456 and fallible fn ui test
diff --git a/tests/ui/fallible_fnptr.rs b/tests/ui/fallible_fnptr.rs index 623de0a..c45813d 100644 --- a/tests/ui/fallible_fnptr.rs +++ b/tests/ui/fallible_fnptr.rs
@@ -1,6 +1,6 @@ #[cxx::bridge] mod ffi { - extern "C++" { + unsafe extern "C++" { fn f(callback: fn() -> Result<()>); } }