about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-01-15 17:28:28 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-01-15 17:28:28 +0530
commit56cae9f507796c7c0f9fa6ee4caab6fc63a79960 (patch)
tree8f61820aab7a6f9bdbe6d36abb7e8c8ffb9b76ba /src/liballoc_system
parent8637da87b6f7c025e29caf76d168dbfad2ec9964 (diff)
parent0704279dd366d09f107014027647a64f8bfefed9 (diff)
downloadrust-56cae9f507796c7c0f9fa6ee4caab6fc63a79960.tar.gz
rust-56cae9f507796c7c0f9fa6ee4caab6fc63a79960.zip
Rollup merge of #30787 - nikomatsakis:future-incompatible-lint, r=brson
There is now more structure to the report, so that you can specify e.g. an RFC/PR/issue number and other explanatory details.

Example message:

```
type-parameter-invalid-lint.rs:14:8: 14:9 error: defaults for type parameters are only allowed on type definitions, like `struct` or `enum`
type-parameter-invalid-lint.rs:14 fn avg<T=i32>(_: T) {}
                                         ^
type-parameter-invalid-lint.rs:14:8: 14:9 warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
type-parameter-invalid-lint.rs:14:8: 14:9 note: for more information, see PR 30742 <https://github.com/rust-lang/rust/pull/30724>
type-parameter-invalid-lint.rs:11:9: 11:28 note: lint level defined here
type-parameter-invalid-lint.rs:11 #![deny(future_incompatible)]
                                          ^~~~~~~~~~~~~~~~~~~
error: aborting due to previous error
```

r? @brson

I would really like feedback also on the specific messages!

Fixes #30746
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions