| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2015-09-24 | Remove the deprecated box(PLACE) syntax. | Eduard Burtescu | -19/+0 | |
| 2015-07-27 | Turn on `box(PLACE) expr` deprecation warning post-snapshot. | Eduard Burtescu | -0/+1 | |
| 2015-07-23 | Update suggestion from parenthesized-box-expr-message to reflect new output ↵ | Felix S. Klock II | -2/+2 | |
| spacing. | ||||
| 2015-04-23 | Auto merge of #24683 - P1start:help-suggestions, r=nrc | bors | -1/+3 | |
| This PR uses the inline error suggestions introduced in #24242 to modify a few existing `help` messages. The new errors look like this: foobar.rs:5:12: 5:25 error: expected a path on the left-hand side of `+`, not `&'static Copy` [E0178] foobar.rs:5 let x: &'static Copy + 'static; ^~~~~~~~~~~~~ foobar.rs:5:12: 5:35 help: try adding parentheses (per RFC 438): foobar.rs: let x: &'static (Copy + 'static); foobar.rs:2:13: 2:23 error: cast to unsized type: `&_` as `core::marker::Copy` foobar.rs:2 let x = &1 as Copy; ^~~~~~~~~~ foobar.rs:2:19: 2:23 help: try casting to a reference instead: foobar.rs: let x = &1 as &Copy; foobar.rs:7:24: 7:25 error: expected expression, found `;` foobar.rs:7 let x = box (1 + 1); ^ foobar.rs:7:13: 7:16 help: try using `box()` instead: foobar.rs: let x = box() (1 + 1); This also modifies compiletest to give the ability to directly test suggestions given by error messages. | ||||
| 2015-04-21 | Change a few error messages to give code suggestions | P1start | -1/+3 | |
| PR #24242 added the ability to the compiler to directly give suggestions about how to modify code to fix an error. The new errors look like this: foobar.rs:5:12: 5:25 error: expected a path on the left-hand side of `+`, not `&'static Copy` [E0178] foobar.rs:5 let x: &'static Copy + 'static; ^~~~~~~~~~~~~ foobar.rs:5:12: 5:35 help: try adding parentheses (per RFC 438): foobar.rs: let x: &'static (Copy + 'static); foobar.rs:2:13: 2:23 error: cast to unsized type: `&_` as `core::marker::Copy` foobar.rs:2 let x = &1 as Copy; ^~~~~~~~~~ foobar.rs:2:19: 2:23 help: try casting to a reference instead: foobar.rs: let x = &1 as &Copy; foobar.rs:7:24: 7:25 error: expected expression, found `;` foobar.rs:7 let x = box (1 + 1); ^ foobar.rs:7:13: 7:16 help: try using `box()` instead: foobar.rs: let x = box() (1 + 1); This also modifies compiletest to give the ability to directly test suggestions given by error messages. | ||||
| 2015-04-18 | Return nonzero exit code if there are errors at a stop point | Florian Hahn | -0/+2 | |
| 2015-02-06 | Move compile-fail tests that are rejected by the parser to parse-fail | Florian Hahn | -0/+14 | |
