aboutsummaryrefslogtreecommitdiffstats
path: root/components/plugins/lints/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move script lints to script_pluginsAnthony Ramine2017-02-161-6/+0
| | | | The plugins crate now just allows to hook into clippy from a single crate.
* Replace inheritance_integrity by trait shenanigansAnthony Ramine2017-02-151-1/+0
| | | | | | | | | | | | | | | | | For each derived DomObject impl, we also generate a dummy trait ShouldNotImplDomObject that is implemented for all T: DomObject. We then try to implement it for each field type except the first one. If compilation succeed, this means that field type doesn't implement DomObject itself otherwise it would break coherence rules. error[E0119]: conflicting implementations of trait `dom::xmlhttprequest::_IMPL_DOMOBJECT_FOR_XMLHttpRequest::ShouldNotImplDomObject` for type `((), SomeFieldTypeThatShouldNotImplementDomObject)`: --> /Users/nox/src/servo/components/script/dom/xmlhttprequest.rs:120:1 | 120 | #[dom_struct] | ^^^^^^^^^^^^^ | | | first implementation here | conflicting implementation for `((), SomeFieldTypeThatShouldNotImplementDomObject)`
* Change #[privatize] into #[derive(DenyPublicFields)]Anthony Ramine2017-02-151-1/+0
|
* Kill transmute-type-lintAnthony Ramine2017-02-151-1/+0
|
* Remove str_to_string lintManish Goregaokar2016-04-081-1/+0
| | | | Specialization makes all of the options equally efficient.
* Ban Cell<JS<T>> and Cell<JSVal<T>> (partial #4336)Manish Goregaokar2015-01-041-0/+1
|
* Remove spurious spaces from lints/mod.rs.Ms2ger2015-01-011-5/+5
|
* break up lints.rs into separate filesRohan Prinja2015-01-011-0/+9