Guest User

Untitled

a guest
May 8th, 2023
7
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. Compiling tauri-macros v1.1.1 (https://github.com/ysinsane/tauri?branch=dev#afbf9d53)
  2. error[E0107]: this struct takes 0 generic arguments but 1 generic argument was supplied
  3. --> C:\Users\Miniontoby\.cargo\git\checkouts\tauri-845b2c232843dbd4\afbf9d5\core\tauri-runtime-wry\src\lib.rs:287:28
  4. |
  5. 287 | struct HttpResponseWrapper(WryResponse<Vec<u8>>);
  6. | ^^^^^^^^^^^--------- help: remove these generics
  7. | |
  8. | expected 0 generic arguments
  9. |
  10. note: struct defined here, with 0 generic parameters
  11. --> C:\Users\Miniontoby\.cargo\registry\src\github.com-1ecc6299db9ec823\wry-0.21.1\src\http\response.rs:33:12
  12. |
  13. 33 | pub struct Response {
  14. | ^^^^^^^^
  15.  
  16. error[E0107]: this struct takes 0 generic arguments but 1 generic argument was supplied
  17. --> C:\Users\Miniontoby\.cargo\git\checkouts\tauri-845b2c232843dbd4\afbf9d5\core\tauri-runtime-wry\src\lib.rs:275:12
  18. |
  19. 275 | impl From<&WryRequest<Vec<u8>>> for HttpRequestWrapper {
  20. | ^^^^^^^^^^--------- help: remove these generics
  21. | |
  22. | expected 0 generic arguments
  23. |
  24. note: struct defined here, with 0 generic parameters
  25. --> C:\Users\Miniontoby\.cargo\registry\src\github.com-1ecc6299db9ec823\wry-0.21.1\src\http\request.rs:21:12
  26. |
  27. 21 | pub struct Request {
  28. | ^^^^^^^
  29.  
  30. error[E0107]: this struct takes 0 generic arguments but 1 generic argument was supplied
  31. --> C:\Users\Miniontoby\.cargo\git\checkouts\tauri-845b2c232843dbd4\afbf9d5\core\tauri-runtime-wry\src\lib.rs:276:17
  32. |
  33. 276 | fn from(req: &WryRequest<Vec<u8>>) -> Self {
  34. | ^^^^^^^^^^--------- help: remove these generics
  35. | |
  36. | expected 0 generic arguments
  37. |
  38. note: struct defined here, with 0 generic parameters
  39. --> C:\Users\Miniontoby\.cargo\registry\src\github.com-1ecc6299db9ec823\wry-0.21.1\src\http\request.rs:21:12
  40. |
  41. 21 | pub struct Request {
  42. | ^^^^^^^
  43.  
  44. For more information about this error, try `rustc --explain E0107`.
  45. error: could not compile `tauri-runtime-wry` due to 3 previous errors
  46. warning: build failed, waiting for other jobs to finish...
Advertisement
Add Comment
Please, Sign In to add comment