tailvore_examples 0.19.1

Examples for the tailvore crate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error[E0599]: no function or associated item named `is_std_box_type` found for struct `tailvore::macro_help::CheckIfTypeIsStd<Box<String>>` in the current scope
  --> src/fail_tests/refuse_non_std_box.rs:19:1
   |
19 | #[self_referencing]
   | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `tailvore::macro_help::CheckIfTypeIsStd<Box<String>>`
   |
   = note: the function or associated item was found for
           - `tailvore::macro_help::CheckIfTypeIsStd<std::boxed::Box<T>>`
   = note: this error originates in the attribute macro `self_referencing` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unused variable: `simple`
  --> src/fail_tests/refuse_non_std_box.rs:27:9
   |
27 |     let simple = Simple::new(Box::new(format!("Hello world")), |data_ref| data_ref);
   |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_simple`
   |
   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default