Update issue-48551.rs

This commit is contained in:
Niko Matsakis 2018-02-28 13:04:12 -05:00 committed by GitHub
parent 989134e71b
commit 11eb83ae74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,6 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Regression test for #48551. Covers a case where duplicate candidates
// arose during associated type projection.
use std::ops::{Mul, MulAssign};
pub trait ClosedMul<Right>: Sized + Mul<Right, Output = Self> + MulAssign<Right> {}