diff options
| author | bors <bors@rust-lang.org> | 2020-05-31 13:39:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-05-31 13:39:05 +0000 |
| commit | f6072cab136beea206b7cfe79f8d10fccf5af591 (patch) | |
| tree | 11b0ec9ab29833da453b04c7c2ee9e72a3f52a88 /src/test | |
| parent | 4b1f86adbe41e8dd4864ca2315f43953dd503bb5 (diff) | |
| parent | cbc73dc2637343f3a0ebba92efc5942e37cc4763 (diff) | |
Auto merge of #72813 - RalfJung:rollup-4ko6q8j, r=RalfJung
Rollup of 5 pull requests Successful merges: - #72683 (from_u32_unchecked: check validity, and fix UB in Wtf8) - #72715 (Account for trailing comma when suggesting `where` clauses) - #72745 (generalize Borrow<[T]> for Interned<'tcx, List<T>>) - #72749 (Update stdarch submodule to latest head) - #72781 (Use `LocalDefId` instead of `NodeId` in `resolve_str_path_error`) Failed merges: r? @ghost
Diffstat (limited to 'src/test')
| -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 } |
