File tree Expand file tree Collapse file tree 4 files changed +2
-9
lines changed Expand file tree Collapse file tree 4 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 1111#![ feature( round_ties_even) ]
1212#![ feature( let_chains) ]
1313#![ feature( lint_reasons) ]
14- #![ feature( trait_upcasting) ]
14+ #![ cfg_attr ( bootstrap , feature( trait_upcasting) ) ]
1515// Configure clippy and other lints
1616#![ allow(
1717 clippy:: collapsible_else_if,
Original file line number Diff line number Diff line change 1- #![ feature( trait_upcasting) ]
2- #![ allow( incomplete_features) ]
3-
41trait Foo : PartialEq < i32 > + std:: fmt:: Debug + Send + Sync {
52 fn a ( & self ) -> i32 {
63 10
Original file line number Diff line number Diff line change 11//@revisions: stack tree
22//@[tree]compile-flags: -Zmiri-tree-borrows
3- #![ allow( incomplete_features) ] // for trait upcasting
4- #![ feature( allocator_api, trait_upcasting) ]
3+ #![ feature( allocator_api) ]
54
65use std:: alloc:: Layout ;
76use std:: alloc:: { AllocError , Allocator } ;
Original file line number Diff line number Diff line change 1- #![ feature( trait_upcasting) ]
2- #![ allow( incomplete_features) ]
3-
41fn main ( ) {
52 basic ( ) ;
63 diamond ( ) ;
You can’t perform that action at this time.
0 commit comments