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