diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-11-16 19:22:48 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-11-21 12:44:51 -0800 |
| commit | ef833d41014481acdfc19bfd50f27f662dba8a2b (patch) | |
| tree | 33d854748f777d562f64c94d45b0b79f6ff1945c /src/test/compile-fail/issue-2149.rs | |
| parent | 77ef4e717667ddbe925a81efc85994662183a445 (diff) | |
| download | rust-ef833d41014481acdfc19bfd50f27f662dba8a2b.tar.gz rust-ef833d41014481acdfc19bfd50f27f662dba8a2b.zip | |
Introduce a T_err type for type errors
This allows more errors to be non-fatal, as per #1871. I only went through and started changing span_fatal to span_err in check.rs. There are probably more errors that could be made non-fatal. So if you see derived type errors appearing from now on, file a bug! r=graydon Closes #1871
Diffstat (limited to 'src/test/compile-fail/issue-2149.rs')
| -rw-r--r-- | src/test/compile-fail/issue-2149.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/issue-2149.rs b/src/test/compile-fail/issue-2149.rs index eb8da1519e8..b9ccfc66703 100644 --- a/src/test/compile-fail/issue-2149.rs +++ b/src/test/compile-fail/issue-2149.rs @@ -11,5 +11,5 @@ impl<A> ~[A]: vec_monad<A> { } } fn main() { - ["hi"].bind({|x| [x] }); + ["hi"].bind({|x| [x] }); //~ ERROR attempted access of field `bind` } |
