Skip to content

Commit 6109d73

Browse files
committed
🍼 for tidy
1 parent 4a6dc8e commit 6109d73

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/test/ui/mir/issue-75053.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ impl<T: MyFrom<Phantom2<DummyT<U>>>, U> MyIndex<Phantom1<T>> for Scope<U> {
4949

5050
#[rustc_error]
5151
fn main() {
52-
let _pos: Phantom1<DummyT<()>> = Scope::new().my_index(); //[min_tait,full_tait]~ ERROR not permitted here
53-
//[in_bindings]~^ ERROR type annotations needed
52+
let _pos: Phantom1<DummyT<()>> = Scope::new().my_index();
53+
//[min_tait,full_tait]~^ ERROR not permitted here
54+
//[in_bindings]~^^ ERROR type annotations needed
5455
}

src/test/ui/type-alias-impl-trait/associated-type-lifetime-ice.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ trait Associated {
2626
impl<'a, T: Associated<A = &'a ()>> AssociatedImpl for S<T> {
2727
type ImplTrait = impl core::fmt::Debug;
2828

29-
fn f() -> Self::ImplTrait { //~ ERROR unexpected concrete region in borrowck: ReEarlyBound(0, 'a)
29+
fn f() -> Self::ImplTrait {
30+
//~^ ERROR unexpected concrete region in borrowck: ReEarlyBound(0, 'a)
3031
()
3132
}
3233
}

src/test/ui/type-alias-impl-trait/associated-type-lifetime-ice.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ error: internal compiler error: unexpected concrete region in borrowck: ReEarlyB
22
--> $DIR/associated-type-lifetime-ice.rs:29:5
33
|
44
LL | / fn f() -> Self::ImplTrait {
5+
LL | |
56
LL | | ()
67
LL | | }
78
| |_____^

0 commit comments

Comments
 (0)