In my opinion the FAQ list should include also the following questions:
-
Why when I pass a struct to a function I cannot use it anymore (compiler complains about moved value), while when I pass an integer everything is fine?
-
Lifetime: when it is required to be defined?
-
Why the compiler cannot find modules from an imported crate? (see my question)
-
When it is possible to avoid writing the
*
? -
How the deref coercion works?
-
Can I override operators? Which ones and how?
-
How can I implement something like C++
struct X {static int x;};
?