]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/mismatched_types/issue-26480.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / mismatched_types / issue-26480.stderr
index d4dcb9a39a403898a4207b58c7dd35bdd2fcc751..69a9d03e474bab2b1c85316a787eaaa346d833d3 100644 (file)
@@ -7,6 +7,7 @@ LL |                   $arr.len() * size_of($arr[0]));
 LL |     write!(hello);
    |     -------------- in this macro invocation
    |
+   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
 help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit
    |
 LL |                   ($arr.len() * size_of($arr[0])).try_into().unwrap());
@@ -22,6 +23,7 @@ LL |     cast!(2);
    |     --------- in this macro invocation
    |
    = note: an `as` expression can only be used to convert between primitive types. Consider using the `From` trait
+   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error: aborting due to 2 previous errors