Skip to content

Commit 206b2ca

Browse files
committed
test: updated expected Vec src path
1 parent f7a6f0c commit 206b2ca

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/test/ui/associated-types/defaults-wf.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation
44
LL | type Ty = Vec<[u8]>;
55
| ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
66
|
7-
::: $SRC_DIR/alloc/src/vec.rs:LL:COL
7+
::: $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
88
|
99
LL | pub struct Vec<T, #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global> {
1010
| - required by this bound in `Vec`

src/test/ui/bad/bad-sized.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ error[E0277]: the size for values of type `dyn Trait` cannot be known at compila
1515
LL | let x: Vec<dyn Trait + Sized> = Vec::new();
1616
| ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
1717
|
18-
::: $SRC_DIR/alloc/src/vec.rs:LL:COL
18+
::: $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
1919
|
2020
LL | pub struct Vec<T, #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global> {
2121
| - required by this bound in `Vec`

src/test/ui/issues/issue-20433.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0277]: the size for values of type `[i32]` cannot be known at compilation
44
LL | fn iceman(c: Vec<[i32]>) {}
55
| ^^^^^^^^^^ doesn't have a size known at compile-time
66
|
7-
::: $SRC_DIR/alloc/src/vec.rs:LL:COL
7+
::: $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
88
|
99
LL | pub struct Vec<T, #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global> {
1010
| - required by this bound in `Vec`

src/test/ui/lint/lint-const-item-mutation.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ LL | VEC.push(0);
107107
= note: each usage of a `const` item creates a new temporary
108108
= note: the mutable reference will refer to this temporary, not the original `const` item
109109
note: mutable reference created due to call to this method
110-
--> $SRC_DIR/alloc/src/vec.rs:LL:COL
110+
--> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
111111
|
112112
LL | / pub fn push(&mut self, value: T) {
113113
LL | | // This will panic or abort if we would allocate > isize::MAX bytes

0 commit comments

Comments
 (0)