Apply suggestions from code review
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
This commit is contained in:
parent
707315857a
commit
0c05ed29fd
@ -1,6 +1,6 @@
|
|||||||
// Test that an impl trait type that expands to itself is an error.
|
// Test that an `impl Trait` type that expands to itself is an error.
|
||||||
|
|
||||||
fn test() -> impl Sized { //~ ERROR E0720
|
fn test() -> impl Sized { //~ ERROR E0720
|
||||||
test()
|
test()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user