Skip to content

Commit b43f4ac

Browse files
author
Jakub Bukaj
committed
---
yaml --- r: 157693 b: refs/heads/snap-stage3 c: 3cbc3f4 h: refs/heads/master i: 157691: d033d23 v: v3
1 parent 6dc52fd commit b43f4ac

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 065caf34f5ff29e04605f95d9c5d511af219439a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 3db13f4892bc06ee038aef01dc9e5daf0451a561
4+
refs/heads/snap-stage3: 3cbc3f4802b9dd8125f2605cf4dab7a18839c4e8
55
refs/heads/try: 0ee4d8b0b112c608646fa75463ab4dc59132efd9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/test/compile-fail/type-parameter-names.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// Test that we print out the names of type parameters correctly in
1212
// our error messages.
1313

14-
fn foo<Foo, Bar>(x: Foo) -> Bar { x } //~ ERROR expected `Bar`, found `Foo`
14+
fn foo<Foo, Bar>(x: Foo) -> Bar {
15+
x
16+
//~^ ERROR expected `Bar`, found `Foo` (expected type parameter, found a different type parameter)
17+
}
1518

1619
fn main() {}

0 commit comments

Comments
 (0)