|
1 | | -error[E0433]: failed to resolve. Use of undeclared type or module `posts` |
| 1 | +error[E0433]: failed to resolve: use of undeclared type or module `posts` |
2 | 2 | --> $DIR/insertable_missing_table_or_column.rs:11:8 |
3 | 3 | | |
4 | 4 | 11 | struct Post { |
5 | | - | ^^^^ Use of undeclared type or module `posts` |
| 5 | + | ^^^^ use of undeclared type or module `posts` |
6 | 6 |
|
7 | | -error[E0433]: failed to resolve. Use of undeclared type or module `posts` |
| 7 | +error[E0433]: failed to resolve: use of undeclared type or module `posts` |
8 | 8 | --> $DIR/insertable_missing_table_or_column.rs:16:16 |
9 | 9 | | |
10 | 10 | 16 | #[table_name = "posts"] |
11 | | - | ^^^^^^^ Use of undeclared type or module `posts` |
| 11 | + | ^^^^^^^ use of undeclared type or module `posts` |
12 | 12 |
|
13 | 13 | error[E0412]: cannot find type `name` in module `users` |
14 | | - --> $DIR/insertable_missing_table_or_column.rs:21:10 |
| 14 | + --> $DIR/insertable_missing_table_or_column.rs:24:5 |
15 | 15 | | |
16 | | -21 | #[derive(Insertable)] |
17 | | - | ^^^^^^^^^^ not found in `users` |
| 16 | +24 | name: String |
| 17 | + | ^^^^ not found in `users` |
18 | 18 |
|
19 | 19 | error[E0425]: cannot find value `name` in module `users` |
20 | | - --> $DIR/insertable_missing_table_or_column.rs:21:10 |
| 20 | + --> $DIR/insertable_missing_table_or_column.rs:24:5 |
21 | 21 | | |
22 | | -21 | #[derive(Insertable)] |
23 | | - | ^^^^^^^^^^ not found in `users` |
| 22 | +24 | name: String |
| 23 | + | ^^^^ not found in `users` |
24 | 24 |
|
25 | 25 | error[E0412]: cannot find type `name` in module `users` |
26 | | - --> $DIR/insertable_missing_table_or_column.rs:27:10 |
| 26 | + --> $DIR/insertable_missing_table_or_column.rs:30:21 |
27 | 27 | | |
28 | | -27 | #[derive(Insertable)] |
29 | | - | ^^^^^^^^^^ not found in `users` |
| 28 | +30 | #[column_name = "name"] |
| 29 | + | ^^^^^^ not found in `users` |
30 | 30 |
|
31 | 31 | error[E0425]: cannot find value `name` in module `users` |
32 | | - --> $DIR/insertable_missing_table_or_column.rs:27:10 |
| 32 | + --> $DIR/insertable_missing_table_or_column.rs:30:21 |
33 | 33 | | |
34 | | -27 | #[derive(Insertable)] |
35 | | - | ^^^^^^^^^^ not found in `users` |
| 34 | +30 | #[column_name = "name"] |
| 35 | + | ^^^^^^ not found in `users` |
36 | 36 |
|
37 | 37 | error: aborting due to 6 previous errors |
38 | 38 |
|
|
0 commit comments