File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
branches/snap-stage3/src/test/compile-fail Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 065caf34f5ff29e04605f95d9c5d511af219439a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 3db13f4892bc06ee038aef01dc9e5daf0451a561
4
+ refs/heads/snap-stage3: 3cbc3f4802b9dd8125f2605cf4dab7a18839c4e8
5
5
refs/heads/try: 0ee4d8b0b112c608646fa75463ab4dc59132efd9
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change 11
11
// Test that we print out the names of type parameters correctly in
12
12
// our error messages.
13
13
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
+ }
15
18
16
19
fn main ( ) { }
You can’t perform that action at this time.
0 commit comments