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
The problem here is you're redeclaring the variable <T> when you write fn new<T> and fn assign<T>, so that the T stored in self and that of newVal are different types.
This problem will be made more obvious if #11658 is fixed. (And so I'm closing as a dupe.)
(Also, btw, you can make code formatted more readable by using code blocks around them. e.g. I edited it to look like
Newbie bug poster here.
===== testcase wire.rs follows =======
The text was updated successfully, but these errors were encountered: