We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db228b8 commit 729a10aCopy full SHA for 729a10a
core/src/marker.rs
@@ -1062,9 +1062,14 @@ pub mod effects {
1062
impl<T: ?Sized> TyCompat<T> for Maybe {}
1063
impl<T: ?Sized> TyCompat<Maybe> for T {}
1064
1065
- #[lang = "EffectsMin"]
1066
- pub trait Min {
1067
- #[lang = "EffectsMinOutput"]
+ #[lang = "EffectsIntersection"]
+ pub trait Intersection {
+ #[lang = "EffectsIntersectionOutput"]
1068
type Output: ?Sized;
1069
}
1070
+
1071
+ // FIXME(effects): remove this after next trait solver lands
1072
+ impl Intersection for () {
1073
+ type Output = Maybe;
1074
+ }
1075
0 commit comments