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
we're also running into this with this code example - I suspect the fix would be the same and there is something wrong when it comes to references/pointers and mutability:
#![feature(intrinsics)]#[lang = "sized"]traitSized{}pubstructVaListImpl<'f>;mod sealed_trait {pubtraitVaArgSafe{}}impl<T> sealed_trait::VaArgSafefor*mutT{}impl<T> sealed_trait::VaArgSafefor*constT{}impl<'f>VaListImpl<'f>{/// Advance to the next arg.#[inline]pubunsafefnarg<T: sealed_trait::VaArgSafe>(&mutself){va_arg2(self);}}fnva_arg2<T: sealed_trait::VaArgSafe>(ap:&mutVaListImpl<'_>){}
if rustc finds an ambiguity, then my testcase was reduced too far. there was definitely an issue with the original code which was taken directly from core when trying to compile it. I can try and get an old gccrs build to see what it was exactly
we're also running into this with this code example - I suspect the fix would be the same and there is something wrong when it comes to references/pointers and mutability:
Originally posted by @CohenArthur in #3032 (comment)
The text was updated successfully, but these errors were encountered: