Skip to content

Commit 0f63688

Browse files
committed
Check existing tests to only verify const auto traits parsing
1 parent 231a3a2 commit 0f63688

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/ui/traits/const-traits/parse-const-unsafe-trait.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
// Test that `const unsafe trait` and `const unsafe auto trait` works.
22

3+
//@ compile-flags: -Zparse-crate-root-only
34
//@ check-pass
45

56
#![feature(const_trait_impl)]
67
#![feature(auto_traits)]
78

89
pub const unsafe trait Owo {}
910
const unsafe trait OwO {}
11+
1012
pub const unsafe auto trait UwU {}
1113
const unsafe auto trait Uwu {}
1214

0 commit comments

Comments
 (0)