Skip to content

Instantly share code, notes, and snippets.

@rainerborene
Created June 2, 2015 00:15
Show Gist options
  • Save rainerborene/8c36618bd0390af33094 to your computer and use it in GitHub Desktop.
Save rainerborene/8c36618bd0390af33094 to your computer and use it in GitHub Desktop.
Compiling config v0.0.0 (file:///home/teste/.wtftw)
src/config.rs:53:80: 53:81 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:53 add_key_handler_str!(config, w, "j", modm, |m, w, c| m.windows(w, c, |x| x.focus_down()));
^
note: in expansion of closure expansion
src/config.rs:53:60: 53:105 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:53:5: 53:107 note: expansion site
src/config.rs:53:80: 53:81 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:53:90: 53:104 error: the type of this value must be known in this context
src/config.rs:53 add_key_handler_str!(config, w, "j", modm, |m, w, c| m.windows(w, c, |x| x.focus_down()));
^~~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:53:86: 53:104 note: expansion site
note: in expansion of closure expansion
src/config.rs:53:60: 53:105 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:53:5: 53:107 note: expansion site
src/config.rs:53:86: 53:104 error: mismatched types:
expected `&_`,
found `[closure src/config.rs:53:86: 53:104]`
(expected &-ptr,
found closure) [E0308]
src/config.rs:53 add_key_handler_str!(config, w, "j", modm, |m, w, c| m.windows(w, c, |x| x.focus_down()));
^~~~~~~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:53:86: 53:104 note: expansion site
note: in expansion of closure expansion
src/config.rs:53:60: 53:105 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:53:5: 53:107 note: expansion site
src/config.rs:53:86: 53:104 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:54:80: 54:81 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:54 add_key_handler_str!(config, w, "k", modm, |m, w, c| m.windows(w, c, |x| x.focus_up()));
^
note: in expansion of closure expansion
src/config.rs:54:60: 54:103 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:54:5: 54:105 note: expansion site
src/config.rs:54:80: 54:81 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:54:90: 54:102 error: the type of this value must be known in this context
src/config.rs:54 add_key_handler_str!(config, w, "k", modm, |m, w, c| m.windows(w, c, |x| x.focus_up()));
^~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:54:86: 54:102 note: expansion site
note: in expansion of closure expansion
src/config.rs:54:60: 54:103 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:54:5: 54:105 note: expansion site
src/config.rs:54:86: 54:102 error: mismatched types:
expected `&_`,
found `[closure src/config.rs:54:86: 54:102]`
(expected &-ptr,
found closure) [E0308]
src/config.rs:54 add_key_handler_str!(config, w, "k", modm, |m, w, c| m.windows(w, c, |x| x.focus_up()));
^~~~~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:54:86: 54:102 note: expansion site
note: in expansion of closure expansion
src/config.rs:54:60: 54:103 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:54:5: 54:105 note: expansion site
src/config.rs:54:86: 54:102 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:55:80: 55:81 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:55 add_key_handler_str!(config, w, "j", modm | SHIFTMASK, |m, w, c| m.windows(w, c, |x| x.swap_down()));
^
note: in expansion of closure expansion
src/config.rs:55:60: 55:104 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:55:5: 55:106 note: expansion site
src/config.rs:55:80: 55:81 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:55:90: 55:103 error: the type of this value must be known in this context
src/config.rs:55 add_key_handler_str!(config, w, "j", modm | SHIFTMASK, |m, w, c| m.windows(w, c, |x| x.swap_down()));
^~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:55:86: 55:103 note: expansion site
note: in expansion of closure expansion
src/config.rs:55:60: 55:104 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:55:5: 55:106 note: expansion site
src/config.rs:55:86: 55:103 error: mismatched types:
expected `&_`,
found `[closure src/config.rs:55:86: 55:103]`
(expected &-ptr,
found closure) [E0308]
src/config.rs:55 add_key_handler_str!(config, w, "j", modm | SHIFTMASK, |m, w, c| m.windows(w, c, |x| x.swap_down()));
^~~~~~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:55:86: 55:103 note: expansion site
note: in expansion of closure expansion
src/config.rs:55:60: 55:104 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:55:5: 55:106 note: expansion site
src/config.rs:55:86: 55:103 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:56:80: 56:81 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:56 add_key_handler_str!(config, w, "k", modm | SHIFTMASK, |m, w, c| m.windows(w, c, |x| x.swap_up()));
^
note: in expansion of closure expansion
src/config.rs:56:60: 56:102 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:56:5: 56:104 note: expansion site
src/config.rs:56:80: 56:81 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:56:90: 56:101 error: the type of this value must be known in this context
src/config.rs:56 add_key_handler_str!(config, w, "k", modm | SHIFTMASK, |m, w, c| m.windows(w, c, |x| x.swap_up()));
^~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:56:86: 56:101 note: expansion site
note: in expansion of closure expansion
src/config.rs:56:60: 56:102 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:56:5: 56:104 note: expansion site
src/config.rs:56:86: 56:101 error: mismatched types:
expected `&_`,
found `[closure src/config.rs:56:86: 56:101]`
(expected &-ptr,
found closure) [E0308]
src/config.rs:56 add_key_handler_str!(config, w, "k", modm | SHIFTMASK, |m, w, c| m.windows(w, c, |x| x.swap_up()));
^~~~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:56:86: 56:101 note: expansion site
note: in expansion of closure expansion
src/config.rs:56:60: 56:102 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:56:5: 56:104 note: expansion site
src/config.rs:56:86: 56:101 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:57:80: 57:81 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:57 add_key_handler_str!(config, w, "Return", modm, |m, w, c| m.windows(w, c, |x| x.swap_master()));
^
note: in expansion of closure expansion
src/config.rs:57:60: 57:106 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:57:5: 57:108 note: expansion site
src/config.rs:57:80: 57:81 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:57:90: 57:105 error: the type of this value must be known in this context
src/config.rs:57 add_key_handler_str!(config, w, "Return", modm, |m, w, c| m.windows(w, c, |x| x.swap_master()));
^~~~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:57:86: 57:105 note: expansion site
note: in expansion of closure expansion
src/config.rs:57:60: 57:106 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:57:5: 57:108 note: expansion site
src/config.rs:57:86: 57:105 error: mismatched types:
expected `&_`,
found `[closure src/config.rs:57:86: 57:105]`
(expected &-ptr,
found closure) [E0308]
src/config.rs:57 add_key_handler_str!(config, w, "Return", modm, |m, w, c| m.windows(w, c, |x| x.swap_master()));
^~~~~~~~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:57:86: 57:105 note: expansion site
note: in expansion of closure expansion
src/config.rs:57:60: 57:106 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:57:5: 57:108 note: expansion site
src/config.rs:57:86: 57:105 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:58:72: 58:73 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:58 add_key_handler_str!(config, w, "c", modm, |m, w, c| m.kill_window(w).windows(w, c, |x| x.clone()));
^
note: in expansion of closure expansion
src/config.rs:58:48: 58:103 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:58:5: 58:105 note: expansion site
src/config.rs:58:72: 58:73 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:58:83: 58:84 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:58 add_key_handler_str!(config, w, "c", modm, |m, w, c| m.kill_window(w).windows(w, c, |x| x.clone()));
^
note: in expansion of closure expansion
src/config.rs:58:48: 58:103 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:58:5: 58:105 note: expansion site
src/config.rs:58:83: 58:84 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:58:93: 58:102 error: the type of this value must be known in this context
src/config.rs:58 add_key_handler_str!(config, w, "c", modm, |m, w, c| m.kill_window(w).windows(w, c, |x| x.clone()));
^~~~~~~~~
note: in expansion of closure expansion
src/config.rs:58:89: 58:102 note: expansion site
note: in expansion of closure expansion
src/config.rs:58:48: 58:103 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:58:5: 58:105 note: expansion site
src/config.rs:58:89: 58:102 error: mismatched types:
expected `&_`,
found `[closure src/config.rs:58:89: 58:102]`
(expected &-ptr,
found closure) [E0308]
src/config.rs:58 add_key_handler_str!(config, w, "c", modm, |m, w, c| m.kill_window(w).windows(w, c, |x| x.clone()));
^~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:58:89: 58:102 note: expansion site
note: in expansion of closure expansion
src/config.rs:58:48: 58:103 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:58:5: 58:105 note: expansion site
src/config.rs:58:89: 58:102 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:62:39: 62:40 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:62 Some(window) => m.windows(w, c, |x| x.sink(window)),
^
note: in expansion of closure expansion
src/config.rs:60:48: 65:6 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:60:5: 65:8 note: expansion site
src/config.rs:62:39: 62:40 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:62:49: 62:63 error: the type of this value must be known in this context
src/config.rs:62 Some(window) => m.windows(w, c, |x| x.sink(window)),
^~~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:62:45: 62:63 note: expansion site
note: in expansion of closure expansion
src/config.rs:60:48: 65:6 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:60:5: 65:8 note: expansion site
src/config.rs:62:45: 62:63 error: mismatched types:
expected `&_`,
found `[closure src/config.rs:62:45: 62:63]`
(expected &-ptr,
found closure) [E0308]
src/config.rs:62 Some(window) => m.windows(w, c, |x| x.sink(window)),
^~~~~~~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:62:45: 62:63 note: expansion site
note: in expansion of closure expansion
src/config.rs:60:48: 65:6 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:60:5: 65:8 note: expansion site
src/config.rs:62:45: 62:63 help: run `rustc --explain E0308` to see a detailed explanation
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:68:65: 68:110 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:68:5: 68:112 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:68:65: 68:110 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:68:5: 68:112 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:68:65: 68:110 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:68:5: 68:112 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:69:65: 69:110 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:69:5: 69:112 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:69:65: 69:110 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:69:5: 69:112 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:69:65: 69:110 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:69:5: 69:112 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:70:65: 70:115 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:70:5: 70:117 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:70:65: 70:115 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:70:5: 70:117 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:70:65: 70:115 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:70:5: 70:117 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:71:65: 71:115 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:71:5: 71:117 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:71:65: 71:115 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:71:5: 71:117 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:71:65: 71:115 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:71:5: 71:117 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:72:65: 72:113 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:72:5: 72:115 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:72:65: 72:113 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:72:5: 72:115 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:72:65: 72:113 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:72:5: 72:115 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:73:65: 73:113 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:73:5: 73:115 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:73:65: 73:113 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:73:5: 73:115 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:73:65: 73:113 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:73:5: 73:115 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:74:65: 74:116 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:74:5: 74:118 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:74:65: 74:116 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:74:5: 74:118 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:74:65: 74:116 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:74:5: 74:118 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:75:65: 75:116 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:75:5: 75:118 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:75:65: 75:116 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:75:5: 75:118 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:75:65: 75:116 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:75:5: 75:118 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:76:65: 76:106 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:76:5: 76:108 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:76:65: 76:106 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:76:5: 76:108 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:76:65: 76:106 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:76:5: 76:108 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:77:65: 77:106 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:77:5: 77:108 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:77:65: 77:106 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:77:5: 77:108 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:77:65: 77:106 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:77:5: 77:108 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:78:65: 78:112 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:78:5: 78:114 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:78:65: 78:112 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:78:5: 78:114 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:78:65: 78:112 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:78:5: 78:114 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:79:65: 79:110 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:79:5: 79:112 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:79:65: 79:110 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:79:5: 79:112 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:79:65: 79:110 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:79:5: 79:112 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:80:65: 80:136 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:80:5: 80:138 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:80:65: 80:136 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:80:5: 80:138 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:80:65: 80:136 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:80:5: 80:138 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:81:65: 81:137 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:81:5: 81:139 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:81:65: 81:137 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:81:5: 81:139 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:81:65: 81:137 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:81:5: 81:139 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:82:65: 82:136 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:82:5: 82:138 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:82:65: 82:136 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:82:5: 82:138 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:82:65: 82:136 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:82:5: 82:138 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:83:65: 83:134 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:83:5: 83:136 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:83:65: 83:134 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:83:5: 83:136 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:83:65: 83:134 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:83:5: 83:136 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:84:67: 84:135 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:84:5: 84:137 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:84:67: 84:135 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:84:5: 84:137 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:84:67: 84:135 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:84:5: 84:137 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:85:67: 85:136 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:85:5: 85:138 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:85:67: 85:136 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:85:5: 85:138 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:85:67: 85:136 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:85:5: 85:138 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:86:67: 86:135 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:86:5: 86:137 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:86:67: 86:135 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:86:5: 86:137 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:86:67: 86:135 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:86:5: 86:137 note: expansion site
<wtftw macros>:2:56: 2:67 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:2 | m , w , c | m . send_layout_message ( $ message , w . deref ( ) , c ) .
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:87:67: 87:133 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:87:5: 87:135 note: expansion site
<wtftw macros>:2:56: 2:67 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:2:56: 2:67 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:14: 3:25 error: no method named `deref` found for type `alloc::rc::Rc<wtftw::window_system::WindowSystem>` in the current scope
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:87:67: 87:133 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:87:5: 87:135 note: expansion site
<wtftw macros>:3:14: 3:25 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
<wtftw macros>:3:14: 3:25 help: candidate #1: use `core::ops::Deref`
<wtftw macros>:3:40: 3:54 error: the type of this value must be known in this context
<wtftw macros>:3 windows ( w . deref ( ) , c , & | x | x . clone ( ) ) )
^~~~~~~~~~~~~~
note: in expansion of closure expansion
<wtftw macros>:3:34: 3:54 note: expansion site
note: in expansion of closure expansion
<wtftw macros>:2:1: 3:56 note: expansion site
<wtftw macros>:1:1: 3:58 note: in expansion of send_layout_message!
src/config.rs:87:67: 87:133 note: expansion site
<wtftw macros>:1:1: 4:69 note: in expansion of add_key_handler_str!
src/config.rs:87:5: 87:135 note: expansion site
src/config.rs:111:39: 111:40 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:111 m.focus(s, w, c).mouse_move_window(w, c, s).windows(w, c, |x| x.shift_master())
^
note: in expansion of closure expansion
src/config.rs:110:24: 112:25 note: expansion site
<wtftw macros>:1:1: 2:69 note: in expansion of add_mouse_handler!
src/config.rs:109:5: 112:27 note: expansion site
src/config.rs:111:39: 111:40 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:111:63: 111:64 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:111 m.focus(s, w, c).mouse_move_window(w, c, s).windows(w, c, |x| x.shift_master())
^
note: in expansion of closure expansion
src/config.rs:110:24: 112:25 note: expansion site
<wtftw macros>:1:1: 2:69 note: in expansion of add_mouse_handler!
src/config.rs:109:5: 112:27 note: expansion site
src/config.rs:111:63: 111:64 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:111:80: 111:81 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:111 m.focus(s, w, c).mouse_move_window(w, c, s).windows(w, c, |x| x.shift_master())
^
note: in expansion of closure expansion
src/config.rs:110:24: 112:25 note: expansion site
<wtftw macros>:1:1: 2:69 note: in expansion of add_mouse_handler!
src/config.rs:109:5: 112:27 note: expansion site
src/config.rs:111:80: 111:81 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:111:90: 111:106 error: the type of this value must be known in this context
src/config.rs:111 m.focus(s, w, c).mouse_move_window(w, c, s).windows(w, c, |x| x.shift_master())
^~~~~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:111:86: 111:106 note: expansion site
note: in expansion of closure expansion
src/config.rs:110:24: 112:25 note: expansion site
<wtftw macros>:1:1: 2:69 note: in expansion of add_mouse_handler!
src/config.rs:109:5: 112:27 note: expansion site
src/config.rs:111:86: 111:106 error: mismatched types:
expected `&_`,
found `[closure src/config.rs:111:86: 111:106]`
(expected &-ptr,
found closure) [E0308]
src/config.rs:111 m.focus(s, w, c).mouse_move_window(w, c, s).windows(w, c, |x| x.shift_master())
^~~~~~~~~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:111:86: 111:106 note: expansion site
note: in expansion of closure expansion
src/config.rs:110:24: 112:25 note: expansion site
<wtftw macros>:1:1: 2:69 note: in expansion of add_mouse_handler!
src/config.rs:109:5: 112:27 note: expansion site
src/config.rs:111:86: 111:106 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:115:39: 115:40 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:115 m.focus(s, w, c).mouse_resize_window(w, c, s).windows(w, c, |x| x.shift_master())
^
note: in expansion of closure expansion
src/config.rs:114:24: 116:25 note: expansion site
<wtftw macros>:1:1: 2:69 note: in expansion of add_mouse_handler!
src/config.rs:113:5: 116:27 note: expansion site
src/config.rs:115:39: 115:40 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:115:65: 115:66 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:115 m.focus(s, w, c).mouse_resize_window(w, c, s).windows(w, c, |x| x.shift_master())
^
note: in expansion of closure expansion
src/config.rs:114:24: 116:25 note: expansion site
<wtftw macros>:1:1: 2:69 note: in expansion of add_mouse_handler!
src/config.rs:113:5: 116:27 note: expansion site
src/config.rs:115:65: 115:66 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:115:82: 115:83 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:115 m.focus(s, w, c).mouse_resize_window(w, c, s).windows(w, c, |x| x.shift_master())
^
note: in expansion of closure expansion
src/config.rs:114:24: 116:25 note: expansion site
<wtftw macros>:1:1: 2:69 note: in expansion of add_mouse_handler!
src/config.rs:113:5: 116:27 note: expansion site
src/config.rs:115:82: 115:83 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:115:92: 115:108 error: the type of this value must be known in this context
src/config.rs:115 m.focus(s, w, c).mouse_resize_window(w, c, s).windows(w, c, |x| x.shift_master())
^~~~~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:115:88: 115:108 note: expansion site
note: in expansion of closure expansion
src/config.rs:114:24: 116:25 note: expansion site
<wtftw macros>:1:1: 2:69 note: in expansion of add_mouse_handler!
src/config.rs:113:5: 116:27 note: expansion site
src/config.rs:115:88: 115:108 error: mismatched types:
expected `&_`,
found `[closure src/config.rs:115:88: 115:108]`
(expected &-ptr,
found closure) [E0308]
src/config.rs:115 m.focus(s, w, c).mouse_resize_window(w, c, s).windows(w, c, |x| x.shift_master())
^~~~~~~~~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:115:88: 115:108 note: expansion site
note: in expansion of closure expansion
src/config.rs:114:24: 116:25 note: expansion site
<wtftw macros>:1:1: 2:69 note: in expansion of add_mouse_handler!
src/config.rs:113:5: 116:27 note: expansion site
src/config.rs:115:88: 115:108 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:121:47: 121:60 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:121 "MPlayer" => spawn_on(workspaces, window_system, window, 3),
^~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:119:32: 125:6 note: expansion site
src/config.rs:121:47: 121:60 help: run `rustc --explain E0308` to see a detailed explanation
src/config.rs:122:47: 122:60 error: mismatched types:
expected `&wtftw::window_system::WindowSystem`,
found `alloc::rc::Rc<wtftw::window_system::WindowSystem>`
(expected &-ptr,
found struct `alloc::rc::Rc`) [E0308]
src/config.rs:122 "vlc" => spawn_on(workspaces, window_system, window, 3),
^~~~~~~~~~~~~
note: in expansion of closure expansion
src/config.rs:119:32: 125:6 note: expansion site
src/config.rs:122:47: 122:60 help: run `rustc --explain E0308` to see a detailed explanation
error: aborting due to 94 previous errors
Could not compile `config`.
To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment