Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

inner doc comments like this (starting with //! or /*!) can only appear before items #7

Closed
ctaggart opened this issue Apr 21, 2017 · 4 comments

Comments

@ctaggart
Copy link
Owner

cargo build
   Compiling octh v0.1.0 (file:///C:/Users/CameronTaggart/rs/octh)
warning: function is never used: `bindgen`, #[warn(dead_code)] on by default
  --> build.rs:3:1
   |
3  | fn bindgen() {
   | ^

error: expected outer doc comment
    --> src\lib.rs:2662:5
     |
2662 |     //! Vector representing the dimensions (size) of an Array.
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items

error: aborting due to previous error

error: Could not compile `octh`.

To learn more, run the command again with --verbose.
@ctaggart
Copy link
Owner Author

See rust-lang/rust-bindgen#426

@BonesyWonesy
Copy link

See rust-lang/rust-bindgen#426

  1. What did this page have in it @ctaggart ?

@ctaggart
Copy link
Owner Author

@BonesyWonesy The org moved from servo to rust-lang:
rust-lang/rust-bindgen#426

@BonesyWonesy
Copy link

Thanks!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants