Skip to content

Commit 1868640

Browse files
committed
comment the typeck-negative-impls-builtin test
1 parent 30e73e6 commit 1868640

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/ui/traits/negative-impls/typeck-negative-impls-builtin.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// A simple test that we are able to create negative impls, when the
2+
// feature gate is given.
3+
//
14
// run-pass
25

36
#![feature(negative_impls)]
@@ -6,7 +9,7 @@
69
struct TestType;
710

811
trait TestTrait {
9-
fn dummy(&self) { }
12+
fn dummy(&self) {}
1013
}
1114

1215
impl !TestTrait for TestType {}

0 commit comments

Comments
 (0)