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
$ rustc input.rs
error: expected outer doc comment
--> input.rs:7:1
|
7 | //!
| ^^^
|
= note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items
error: aborting due to previous error(s)
Expected Results
I'm not familiar with inner doc comment, and I don't know if it's rustc or bindgen issue, and what to expect here.
Input C/C++ Header
Real world example: https://github.com/g-truc/glm/blob/a9a832e187b6a33638b8e769887a35e39638dbeb/glm/detail/type_vec.hpp#L458
Bindgen Invocation
Actual Results
Expected Results
I'm not familiar with inner doc comment, and I don't know if it's rustc or bindgen issue, and what to expect here.
RUST_LOG=bindgen
Outputextern "C" {
#[link_name = "x"]
pub static mut x: f32;
}
//!
pub type Float = f32;
The text was updated successfully, but these errors were encountered: