Skip to content
Permalink
Browse files

Clean up E0130 error explanation

  • Loading branch information
GuillaumeGomez committed Jan 2, 2020
1 parent 0a58f58 commit d202b595065b9f20c07d3abc72c47f506f4491f0
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/librustc_error_codes/error_codes/E0130.md
@@ -1,4 +1,4 @@
You declared a pattern as an argument in a foreign function declaration.
A pattern was declared as an argument in a foreign function declaration.

Erroneous code example:

@@ -9,7 +9,7 @@ extern {
}
```

Please replace the pattern argument with a regular one. Example:
To fix this error, replace the pattern argument with a regular one. Example:

```
struct SomeStruct {

0 comments on commit d202b59

Please sign in to comment.
You can’t perform that action at this time.