2024-02-22 06:10:29 -06:00
|
|
|
//@ aux-build:auto-traits.rs
|
2018-01-22 19:04:24 -06:00
|
|
|
|
2020-11-22 21:54:31 -06:00
|
|
|
#![feature(auto_traits)]
|
2018-01-22 19:04:24 -06:00
|
|
|
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
|
|
|
extern crate auto_traits;
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has 'foo/trait.Foo.html' '//pre' 'pub unsafe auto trait Foo'
|
2018-01-22 19:04:24 -06:00
|
|
|
pub unsafe auto trait Foo {}
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has 'foo/trait.Bar.html' '//pre' 'pub unsafe auto trait Bar'
|
2018-01-22 19:04:24 -06:00
|
|
|
pub use auto_traits::Bar;
|