-
Notifications
You must be signed in to change notification settings - Fork 933
Closed
Labels
Description
Given:
#![feature(dyn_star)]
#![allow(incomplete_features)]
use core::fmt::Debug;
fn main() {
let i = 42;
let dyn_i = i as dyn* Debug;
dbg!(dyn_i);
}
This is formatted to:
#![feature(dyn_star)]
#![allow(incomplete_features)]
use core::fmt::Debug;
fn main() {
let i = 42;
let dyn_i = i as Debug;
dbg!(dyn_i);
}
After formatting, this code no longer compiles.