diff options
| author | Patrick Walton <[email protected]> | 2010-11-05 17:30:53 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-11-05 17:31:35 -0700 |
| commit | 79015e2d599287d448662e3436f77026c4ffb232 (patch) | |
| tree | 0ffd3e929a562829784a678d4145986c7cbc1225 /src/boot/me | |
| parent | rustc: Implement function types (diff) | |
| download | rust-79015e2d599287d448662e3436f77026c4ffb232.tar.xz rust-79015e2d599287d448662e3436f77026c4ffb232.zip | |
rustboot: If something that wasn't a type was found where a type was expected, report where the error was
Diffstat (limited to 'src/boot/me')
| -rw-r--r-- | src/boot/me/resolve.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/me/resolve.ml b/src/boot/me/resolve.ml index 14d9cc53..b2f29d27 100644 --- a/src/boot/me/resolve.ml +++ b/src/boot/me/resolve.ml @@ -306,7 +306,7 @@ let rec lookup_type_by_name | Some (DEFN_ty_param (_, x)) -> (Ast.TY_param x, [||]) | _ -> - err None "Found non-type binding for %a" + err loc "Found non-type binding for %a" Ast.sprintf_name name in let args = |