blob: 01439c8601b4b0c7e7c19f9e69c006a430ca2c74 [file] [log] [blame]
//@ aux-build:auto-traits.rs
#![feature(auto_traits)]
#![crate_name = "foo"]
extern crate auto_traits;
// @has 'foo/trait.Foo.html' '//pre' 'pub unsafe auto trait Foo'
pub unsafe auto trait Foo {}
// @has 'foo/trait.Bar.html' '//pre' 'pub unsafe auto trait Bar'
pub use auto_traits::Bar;