提交 a0985fc2 编写于 作者: T Takayuki Maeda

fix a typo

上级 9f7e997c
......@@ -28,7 +28,7 @@ fn give_static() {
want_hrtb::<StaticInt>() //~ ERROR
}
// AnyInt implements Foo<&'a isize> for any 'a, so it is a match.
// &'a u32 only implements Foo<&'a isize> for specific 'a, so it is an error.
impl<'a> Foo<&'a isize> for &'a u32 { }
fn give_some<'a>() {
want_hrtb::<&'a u32>()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册