You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The message "functions that return a reference must take exactly one input reference" was accurate only until #608. Now that a signature can be annotated with explicit lifetimes, either a 'static output lifetime would also be fine, or multiple input lifetimes would also be fine.
error[cxxbridge]: functions that return a reference must take exactly one input reference ┌─ src/main.rs:4:16 │4 │ unsafe fn f() -> &i32; │ ^^^^^^^^^^^^^^^ functions that return a reference must take exactly one input reference
The text was updated successfully, but these errors were encountered:
The message "functions that return a reference must take exactly one input reference" was accurate only until #608. Now that a signature can be annotated with explicit lifetimes, either a 'static output lifetime would also be fine, or multiple input lifetimes would also be fine.
Current behavior:
The text was updated successfully, but these errors were encountered: