]> git.lizzy.rs Git - rust.git/blob - tests/pretty/auto-trait.rs
Rollup merge of #106661 - mjguzik:linux_statx, r=Mark-Simulacrum
[rust.git] / tests / pretty / auto-trait.rs
1 #![feature(auto_traits)]
2
3 // pp-exact
4
5 auto trait MyTrait {}
6
7 unsafe auto trait UnsafeMyTrait {}
8
9 pub fn main() {}