Skip to content

Commit 729a10a

Browse files
committed
address review comments
1 parent db228b8 commit 729a10a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

core/src/marker.rs

+8-3
Original file line numberDiff line numberDiff line change
@@ -1062,9 +1062,14 @@ pub mod effects {
10621062
impl<T: ?Sized> TyCompat<T> for Maybe {}
10631063
impl<T: ?Sized> TyCompat<Maybe> for T {}
10641064

1065-
#[lang = "EffectsMin"]
1066-
pub trait Min {
1067-
#[lang = "EffectsMinOutput"]
1065+
#[lang = "EffectsIntersection"]
1066+
pub trait Intersection {
1067+
#[lang = "EffectsIntersectionOutput"]
10681068
type Output: ?Sized;
10691069
}
1070+
1071+
// FIXME(effects): remove this after next trait solver lands
1072+
impl Intersection for () {
1073+
type Output = Maybe;
1074+
}
10701075
}

0 commit comments

Comments
 (0)