Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
16040a16285e3bfde82c3e4216d16a6e566494da
/
.
/
tests
/
ui
/
rfcs
/
rfc-2632-const-trait-impl
/
impl-tilde-const-trait.rs
blob: 05b26465c5b0c395ba57e625bde6abb6a5b47161 [
file
] [
log
] [
blame
]
Deadbeef
ff24ac4
2021-08-25 14:30:09
[
diff
] [
blame
]
1
#![
feature
(
const_trait_impl
)]
2
3
struct
S
;
4
trait
T
{}
5
6
impl
~
const
T
for
S
{}
7
//~^ ERROR expected a trait, found type
8
9
fn
main
()
{}