Skip to content

Commit 871f3d7

Browse files
committed
Fix codegen test by removing T:Trait bound
1 parent 27d9e21 commit 871f3d7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tests/ui/internal/auxiliary/unstable_impl_codegen_aux2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use aux::Trait;
88
/// that depends on aux crate in
99
/// unstable_impl_codegen_aux1.rs
1010
11-
pub fn foo<T: Trait>(a:T) {
11+
pub fn foo<T>(a:T) {
1212
a.method();
1313
}
1414

tests/ui/internal/unstable_impl_codegen.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//@ aux-build:unstable_impl_codegen_aux2.rs
22
//@ check-pass
3-
#![feature(foo)]
43

54
/// Downstream crate for unstable impl codegen test
65
/// that depends on upstream crate in

0 commit comments

Comments
 (0)