Skip to content

Commit 35f87f4

Browse files
committed
---
yaml --- r: 194247 b: refs/heads/tmp c: 01d2429 h: refs/heads/master i: 194245: 4dc050f 194243: 9d85157 194239: 09a09d7 v: v3
1 parent 4c4b218 commit 35f87f4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: a3b13610c5b93d9ada072471a001a5613df6a960
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37-
refs/heads/tmp: 9ae144f05526ce8963af265d3b33f6c565c85e43
37+
refs/heads/tmp: 01d24297eb6fe16abdf7869c60519650e3490faf
3838
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3939
refs/tags/homu-tmp: 28a0b25f424090255966273994748a9f9901059f
4040
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

branches/tmp/src/libsyntax/feature_gate.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,13 @@ impl<'a, 'v> Visitor<'v> for PostExpansionVisitor<'a> {
563563
}
564564
}
565565

566+
ast::ItemDefaultImpl(..) => {
567+
self.gate_feature("optin_builtin_traits",
568+
i.span,
569+
"default trait implementations are experimental \
570+
and possibly buggy");
571+
}
572+
566573
ast::ItemImpl(_, polarity, _, _, _, _) => {
567574
match polarity {
568575
ast::ImplPolarity::Negative => {

0 commit comments

Comments
 (0)