Skip to content

Commit

Permalink
Add ignore-tidy-linelength and fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrz committed Apr 7, 2015
1 parent 7eb723d commit 6f9ec06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/test/compile-fail/issue-22560.rs
Expand Up @@ -8,12 +8,13 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-tidy-linelength

use std::ops::{Add, Sub};

type Test = Add +
//~^ ERROR the type parameter `RHS` must be explicitly specified in an object type because its default value `Self` references the type `Self`
Sub;
//~^ ERROR only the builtin traits can be used as closure or object bounds

fn main() {
}
fn main() { }

0 comments on commit 6f9ec06

Please sign in to comment.