Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
  • Loading branch information
matthewjasper and Centril committed Oct 25, 2019
1 parent 7073158 commit 0c05ed2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/ui/impl-trait/recursive-impl-trait-type-direct.rs
@@ -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()
}

Expand Down

0 comments on commit 0c05ed2

Please sign in to comment.