Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\Aareon\Desktop\pysyntect [master +4 ~0 -0 !]> cargo build
- Compiling py-syntect v0.1.0 (C:\Users\Aareon\Desktop\pysyntect)
- error: an inner attribute is not permitted following an outer doc comment
- --> src\lib.rs:3:3
- |
- 3 | #![feature(specialization)]
- | ^
- |
- = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files. Outer attributes, like `#[test]`, annotate the item following them.
- error: an inner attribute is not permitted following an outer attribute
- --> src\lib.rs:4:3
- |
- 4 | #![feature(custom_attribute)]
- | ^
- |
- = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files. Outer attributes, like `#[test]`, annotate the item following them.
- warning: unused import: `pyo3::ToPyObject`
- --> src\types.rs:2:5
- |
- 2 | use pyo3::ToPyObject;
- | ^^^^^^^^^^^^^^^^
- |
- = note: #[warn(unused_imports)] on by default
- warning: unused imports: `Color`, `ThemeSettings`
- --> src\types.rs:6:29
- |
- 6 | use syntect::highlighting::{ThemeSettings, Color};
- | ^^^^^^^^^^^^^ ^^^^^
- error[E0119]: conflicting implementations of trait `pyo3::methods::PyMethodsProtocolImpl` for type `types::SyntectColor`:
- --> src\types.rs:24:1
- |
- 24 | #[pymethods]
- | ^^^^^^^^^^^^
- |
- = note: conflicting implementation in crate `pyo3`:
- - impl<T> pyo3::methods::PyMethodsProtocolImpl for T;
- error[E0119]: conflicting implementations of trait `pyo3::methods::PyPropMethodsProtocolImpl` for type `types::SyntectColor`:
- --> src\types.rs:9:1
- |
- 9 | #[pyclass(name=Color, freelist=4, gc)]
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: conflicting implementation in crate `pyo3`:
- - impl<T> pyo3::methods::PyPropMethodsProtocolImpl for T;
- error: aborting due to 4 previous errors
- For more information about this error, try `rustc --explain E0119`.
- error: Could not compile `py-syntect`.
- To learn more, run the command again with --verbose.
Add Comment
Please, Sign In to add comment