diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2020-05-28 16:31:48 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2020-05-28 16:31:48 -0700 |
| commit | 04243710a0077ad140b8259c21bc1aac02057a48 (patch) | |
| tree | 49b30c93b3b984fa66922b1ea60b7db4689d86ce /src/test/ui | |
| parent | ff991d60349201a90ca15202dd0323ebdfab8745 (diff) | |
Account for trailing comma when suggesting `where` clauses
Fix #72693.
Diffstat (limited to 'src/test/ui')
| -rw-r--r-- | src/test/ui/bound-suggestions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/bound-suggestions.rs b/src/test/ui/bound-suggestions.rs index 605a6df8386..562dec9f080 100644 --- a/src/test/ui/bound-suggestions.rs +++ b/src/test/ui/bound-suggestions.rs @@ -19,7 +19,7 @@ fn test_one_bound<T: Sized>(t: T) { } #[allow(dead_code)] -fn test_no_bounds_where<X, Y>(x: X, y: Y) where X: std::fmt::Debug { +fn test_no_bounds_where<X, Y>(x: X, y: Y) where X: std::fmt::Debug, { println!("{:?} {:?}", x, y); //~^ ERROR doesn't implement } |
