We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 231a3a2 commit 0f63688Copy full SHA for 0f63688
tests/ui/traits/const-traits/parse-const-unsafe-trait.rs
@@ -1,12 +1,14 @@
1
// Test that `const unsafe trait` and `const unsafe auto trait` works.
2
3
+//@ compile-flags: -Zparse-crate-root-only
4
//@ check-pass
5
6
#![feature(const_trait_impl)]
7
#![feature(auto_traits)]
8
9
pub const unsafe trait Owo {}
10
const unsafe trait OwO {}
11
+
12
pub const unsafe auto trait UwU {}
13
const unsafe auto trait Uwu {}
14
0 commit comments