mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 06:43:20 +03:00
Don't make a def id for impl_trait_in_bindings
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
//@ check-pass
|
||||
|
||||
// Make sure we don't create an opaque def id for ITIB.
|
||||
|
||||
#![crate_type = "lib"]
|
||||
#![feature(impl_trait_in_bindings)]
|
||||
|
||||
fn foo() {
|
||||
let _: impl Sized = 0;
|
||||
}
|
||||
Reference in New Issue
Block a user