#Trait specialisation in stable

4 messages · Page 1 of 1 (latest)

warm shard
#

I have a IntoResponse trait where I want it to be implemented for any serde::Serialize type but have a special case for Result<T, E> where T and E are serde::Serialize

Is there anyway to do this on stable rust that doesn't cause implementation conflict?

charred spear
#

No

heavy horizon
#

use nightly

warm shard
#

I can't... I need it on stable (for other users)