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
Closing, this is by design.
If !NonRef is implemented for &T it also becomes implemented for S<&T> or any other type containing &T. It is weird, but it's how OIBIT work, they are just not designed to be used for specialization.
The next program
is supposed to compile and print
but it doesn't compile with an error
If I switch the comments in lines
then everything works as expected.
cc @flaper87 @nikomatsakis
The text was updated successfully, but these errors were encountered: