Guest User

Untitled

a guest
Jan 23rd, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. C:\Users\Aareon\Desktop\pysyntect [master +4 ~0 -0 !]> cargo build
  2. Compiling py-syntect v0.1.0 (C:\Users\Aareon\Desktop\pysyntect)
  3. error: an inner attribute is not permitted following an outer doc comment
  4. --> src\lib.rs:3:3
  5. |
  6. 3 | #![feature(specialization)]
  7. | ^
  8. |
  9. = 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.
  10.  
  11. error: an inner attribute is not permitted following an outer attribute
  12. --> src\lib.rs:4:3
  13. |
  14. 4 | #![feature(custom_attribute)]
  15. | ^
  16. |
  17. = 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.
  18.  
  19. warning: unused import: `pyo3::ToPyObject`
  20. --> src\types.rs:2:5
  21. |
  22. 2 | use pyo3::ToPyObject;
  23. | ^^^^^^^^^^^^^^^^
  24. |
  25. = note: #[warn(unused_imports)] on by default
  26.  
  27. warning: unused imports: `Color`, `ThemeSettings`
  28. --> src\types.rs:6:29
  29. |
  30. 6 | use syntect::highlighting::{ThemeSettings, Color};
  31. | ^^^^^^^^^^^^^ ^^^^^
  32.  
  33. error[E0119]: conflicting implementations of trait `pyo3::methods::PyMethodsProtocolImpl` for type `types::SyntectColor`:
  34. --> src\types.rs:24:1
  35. |
  36. 24 | #[pymethods]
  37. | ^^^^^^^^^^^^
  38. |
  39. = note: conflicting implementation in crate `pyo3`:
  40. - impl<T> pyo3::methods::PyMethodsProtocolImpl for T;
  41.  
  42. error[E0119]: conflicting implementations of trait `pyo3::methods::PyPropMethodsProtocolImpl` for type `types::SyntectColor`:
  43. --> src\types.rs:9:1
  44. |
  45. 9 | #[pyclass(name=Color, freelist=4, gc)]
  46. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  47. |
  48. = note: conflicting implementation in crate `pyo3`:
  49. - impl<T> pyo3::methods::PyPropMethodsProtocolImpl for T;
  50.  
  51. error: aborting due to 4 previous errors
  52.  
  53. For more information about this error, try `rustc --explain E0119`.
  54. error: Could not compile `py-syntect`.
  55.  
  56. To learn more, run the command again with --verbose.
Add Comment
Please, Sign In to add comment