You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<anon>:8:9: 8:10 error: use of moved value: `c`
<anon>:8 foo(c);
^
<anon>:7:9: 7:10 note: `c` moved here because it has type `Copyable<NonCopyable>`, which is non-copyable
<anon>:7 foo(c);
replacing T for Copyable with a copyable type, it compiles fine
Non-copyable types as type parameters for copyable types cause them to be non-copyable.
this results in
replacing T for Copyable with a copyable type, it compiles fine
rustc 1.0.0-nightly (44a287e6e 2015-01-08 17:03:40 -0800)
The text was updated successfully, but these errors were encountered: