mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-17 05:00:17 +00:00
12 lines
265 B
Rust
12 lines
265 B
Rust
#![feature(type_ascription)]
|
|
|
|
fn e() {
|
|
type_ascribe!(p, a<p:p<e=6>>);
|
|
//~^ ERROR cannot find type `a` in this scope
|
|
//~| ERROR cannot find value
|
|
//~| ERROR associated const equality
|
|
//~| ERROR cannot find trait `p` in this scope
|
|
}
|
|
|
|
fn main() {}
|