Skip to content

Instantly share code, notes, and snippets.

@halorgium
Created January 22, 2016 22:22
Show Gist options
  • Save halorgium/cd940592af7472701bed to your computer and use it in GitHub Desktop.
Save halorgium/cd940592af7472701bed to your computer and use it in GitHub Desktop.
sql_lexer/src/rs/lib.rs:325:28: 325:36 warning: found non-foreign-function-safe member in struct marked #[repr(C)]: found struct without foreign-function-safe representation annotation in foreign module, consider adding a #[repr(C)] attribute to the type, #[warn(improper_ctypes)] on by default
sql_lexer/src/rs/lib.rs:325 settings: &mut Settings) -> size_t;
^~~~~~~~
sql_lexer/src/rs/lib.rs:330:28: 330:36 warning: found non-foreign-function-safe member in struct marked #[repr(C)]: found struct without foreign-function-safe representation annotation in foreign module, consider adding a #[repr(C)] attribute to the type, #[warn(improper_ctypes)] on by default
sql_lexer/src/rs/lib.rs:330 settings: &mut Settings) -> size_t;
^~~~~~~~
sql_lexer/src/rs/lib.rs:335:28: 335:36 warning: found non-foreign-function-safe member in struct marked #[repr(C)]: found struct without foreign-function-safe representation annotation in foreign module, consider adding a #[repr(C)] attribute to the type, #[warn(improper_ctypes)] on by default
sql_lexer/src/rs/lib.rs:335 settings: &mut Settings) -> size_t;
^~~~~~~~
sql_lexer/src/rs/lib.rs:340:28: 340:36 warning: found non-foreign-function-safe member in struct marked #[repr(C)]: found struct without foreign-function-safe representation annotation in foreign module, consider adding a #[repr(C)] attribute to the type, #[warn(improper_ctypes)] on by default
sql_lexer/src/rs/lib.rs:340 settings: &mut Settings) -> size_t;
^~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment