From ca26f01dd1cdd16d2f5c008d8d3b4e107a77e4e8 Mon Sep 17 00:00:00 2001 From: "leonardo.yvens" Date: Thu, 2 Nov 2017 16:33:09 -0200 Subject: Update pretty test for auto trait syntax. --- src/test/pretty/auto-trait.rs | 17 +++++++++++++++++ src/test/pretty/default-trait-impl.rs | 19 ------------------- 2 files changed, 17 insertions(+), 19 deletions(-) create mode 100644 src/test/pretty/auto-trait.rs delete mode 100644 src/test/pretty/default-trait-impl.rs (limited to 'src') diff --git a/src/test/pretty/auto-trait.rs b/src/test/pretty/auto-trait.rs new file mode 100644 index 00000000000..1f1a8a41a68 --- /dev/null +++ b/src/test/pretty/auto-trait.rs @@ -0,0 +1,17 @@ +// Copyright 2014 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +#![feature(optin_builtin_traits)] + +// pp-exact + +auto trait MyTrait { } + +pub fn main() { } diff --git a/src/test/pretty/default-trait-impl.rs b/src/test/pretty/default-trait-impl.rs deleted file mode 100644 index a5246b9300c..00000000000 --- a/src/test/pretty/default-trait-impl.rs +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2014 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -#![feature(optin_builtin_traits)] - -// pp-exact - -trait MyTrait { } - -impl MyTrait for .. { } - -pub fn main() { } -- cgit 1.4.1-3-g733a5