about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2016-09-02 12:01:03 -0700
committerDavid Tolnay <dtolnay@gmail.com>2016-09-06 14:11:19 -0700
commit3784067edcbcd0614f6c4c88f6445ca17ae27ff6 (patch)
tree60a0a0abe65bd0162ab1db0dda9d80e16caa1554 /src/test/incremental/thinlto
parent13c4e32e7aca87cbf867be68bf0fc45528bb3fcf (diff)
downloadrust-3784067edcbcd0614f6c4c88f6445ca17ae27ff6.tar.gz
rust-3784067edcbcd0614f6c4c88f6445ca17ae27ff6.zip
Point macros 1.1 errors to the input item
Before:

```rust
error[E0106]: missing lifetime specifier
  --> src/main.rs:10:10
   |
10 | #[derive(Serialize, Deserialize)]
   |          ^ expected lifetime parameter

error[E0038]: the trait `T` cannot be made into an object
  --> src/main.rs:15:15
   |
15 | #[derive(Serialize, Deserialize)]
   |          ^^^^^^^^^^ the trait `T` cannot be made into an object
```

After:

```rust
error[E0106]: missing lifetime specifier
  --> src/main.rs:11:1
   |
11 | struct A {
   | ^ expected lifetime parameter

error[E0038]: the trait `T` cannot be made into an object
  --> src/main.rs:16:1
   |
16 | struct B<'a> {
   | ^ the trait `T` cannot be made into an object
```
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions