blob: a5cc3bdaa746b4369a1eb39e3213b345dd5ba6af (
plain)
1
2
3
4
5
|
error: extern C++ function with lifetimes must be declared in `unsafe extern "C++"` block
--> tests/ui/lifetime_extern_cxx.rs:5:9
|
5 | unsafe fn f<'a>(&'a self, arg: &str) -> &'a str;
| ^^^^^^^^^^^^^^^
|