Test configuration file typing errors

This commit is contained in:
mcarton 2016-10-02 14:46:46 +02:00
parent 019e310861
commit 7b92fe0387
No known key found for this signature in database
GPG Key ID: 5E427C794CBA45E8
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,6 @@
// error-pattern: error reading Clippy's configuration file: `blacklisted-names` is expected to be a `Vec < String >` but is a `integer`
#![feature(plugin)]
#![plugin(clippy(conf_file="./tests/compile-fail/conf_bad_type.toml"))]
fn main() {}

View File

@ -0,0 +1 @@
blacklisted-names = 42