error: import path cannot use `\` as a path separator
  --> main.proto:4:8
   |
 4 | import "nested\\path.proto";
   |        ^^^^^^^^^^^^^^^^^^^^ this path begins with a `n`
   |
  help: use `/` as the separator instead
   |
 4 | - import "nested\\path.proto";
 4 | + import "nested/path.proto";
   |
   |
   = note: this restriction also applies when compiling on a non-Windows system

error: import path must not contain `.`, `..`, or repeated separators
  --> main.proto:4:8
   |
 4 | import "nested\\path.proto";
   |        ^^^^^^^^^^^^^^^^^^^^ imported here
   |
  help: canonicalize this path
   |
 4 | - import "nested\\path.proto";
 4 | + import "nested/path.proto";

warning: import path appears to begin with the Windows drive prefix `C:`
  --> main.proto:5:8
   |
 5 | import "C:/MyFiles/foo.proto";
   |        ^^^^^^^^^^^^^^^^^^^^^^
   = note: this is not an error, because `protoc` accepts it, but may result in
           unexpected behavior on Windows

error: file imported multiple times
  --> main.proto:6:1
   |
 5 | import "C:/MyFiles/foo.proto";
   | ------------------------------ first imported here
 6 | import "C:\\MyFiles\\foo.proto";
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   = help: both paths are equivalent to "C:/MyFiles/foo.proto"

warning: import path appears to begin with the Windows drive prefix `C:`
  --> main.proto:6:8
   |
 6 | import "C:\\MyFiles\\foo.proto";
   |        ^^^^^^^^^^^^^^^^^^^^^^^^
   = note: this is not an error, because `protoc` accepts it, but may result in
           unexpected behavior on Windows

error: import path cannot use `\` as a path separator
  --> main.proto:6:8
   |
 6 | import "C:\\MyFiles\\foo.proto";
   |        ^^^^^^^^^^^^^^^^^^^^^^^^ this path begins with a `C`
   |
  help: use `/` as the separator instead
   |
 6 | - import "C:\\MyFiles\\foo.proto";
 6 | + import "C:/MyFiles/foo.proto";
   |
   |
   = note: this restriction also applies when compiling on a non-Windows system

error: import path must not contain `.`, `..`, or repeated separators
  --> main.proto:6:8
   |
 6 | import "C:\\MyFiles\\foo.proto";
   |        ^^^^^^^^^^^^^^^^^^^^^^^^ imported here
   |
  help: canonicalize this path
   |
 6 | - import "C:\\MyFiles\\foo.proto";
 6 | + import "C:/MyFiles/foo.proto";

encountered 5 errors and 2 warnings
