Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
11
third-party/vendor/zerocopy/tests/ui-stable/transmute-mut-src-immutable.stderr
vendored
Normal file
11
third-party/vendor/zerocopy/tests/ui-stable/transmute-mut-src-immutable.stderr
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
error[E0308]: mismatched types
|
||||
--> tests/ui-stable/transmute-mut-src-immutable.rs:17:37
|
||||
|
|
||||
17 | let _: &mut u8 = transmute_mut!(&0u8);
|
||||
| ---------------^^^^-
|
||||
| | |
|
||||
| | types differ in mutability
|
||||
| expected due to this
|
||||
|
|
||||
= note: expected mutable reference `&mut _`
|
||||
found reference `&u8`
|
||||
Loading…
Add table
Add a link
Reference in a new issue