Skip to content

Commit 9455eaf

Browse files
committed
changed to impl trait for type stx
1 parent 77da055 commit 9455eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass/issue-3979-generics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ impl Positioned<int> for Point {
3232
}
3333
}
3434

35-
impl Point: Movable<int, int>;
35+
impl Movable<int, int> for Point;
3636

3737
pub fn main() {
3838
let p = Point{ x: 1, y: 2};

0 commit comments

Comments
 (0)