Commit Graph

11 Commits

Author SHA1 Message Date
Michael Wright de7749832c Fix bug in `implicit_hasher` causing crashes
Skip linting if the type is from an external macro. Closes #4260.
2019-07-11 08:47:05 +02:00
Philipp Hansch 38d4ac7cea
Remove all copyright license headers
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2019-01-08 21:46:39 +01:00
Matthias Krüger 36266b3e6c test reformatting: revert more questionable changes done by rustfmt and add #[rustfmt::skip] 2018-12-11 20:50:55 +01:00
Matthias Krüger 435299be30 rustfmt tests 2018-12-09 23:26:16 +01:00
Manish Goregaokar e9c025ea70 Add license header to Rust files 2018-10-06 09:43:08 -07:00
Daniel Wagner-Hall d3124731b7 Fix some existing test expectations 2018-06-14 23:13:12 +01:00
Philipp Hansch 5d36edc90d
Prevent crash when macro is in different file
This was caused by a macro in a different file.
The `target.span` was be in the file of the macro definition and the
`item.span` in the file of the calling code.
2018-05-01 18:46:15 +02:00
Oliver Schneider 127c41f700
Apply changes that were required for running in the rustc test suite 2017-11-14 14:56:00 +01:00
sinkuu a4f45e85b1 Use cx.access_levels.exported() instead of visibility 2017-10-17 21:13:17 +09:00
sinkuu 5a61d88fa1 Apply suggestions 2017-10-11 22:17:00 +09:00
sinkuu 159cc8413c Add implicit_hasher lint (#2101) 2017-10-11 12:10:26 +09:00