aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve.cc
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-05 16:26:06 +0000
committerGitHub <noreply@github.com>2021-06-05 16:26:06 +0000
commitfcfbd8f9e00eab447c666f2e28cef2826fab88f2 (patch)
tree50dc4bee295b9de60612ad36f48d58044b1e1f53 /gcc/rust/resolve/rust-ast-resolve.cc
parentbc4c1ef45d46284583168c321a292df54ce86b2e (diff)
parent1c0f8d6d2a22ce498ef3f1bfd60a3867a90c8130 (diff)
parent7222dcb2bb831b92c71e2a4db3d490525e78a4dd (diff)
parentb2fd4346a65289390342fb61815b11926945416e (diff)
downloadgcc-fcfbd8f9e00eab447c666f2e28cef2826fab88f2.zip
gcc-fcfbd8f9e00eab447c666f2e28cef2826fab88f2.tar.gz
gcc-fcfbd8f9e00eab447c666f2e28cef2826fab88f2.tar.bz2
Merge #484 #485 #486
484: Trait impls and initial start of traits work r=philberty a=philberty This does not start enforcing anything to do with traits. in order to implement the traits milestone we need to be able to implement a trait first. This makes the Trait impls follow a normal impl block. As the starting point. Fixes #395 #472 485: All toplevel items must respect the prefix for their path r=philberty a=philberty The commit message has a more detailed explanation as to why. But some toplevel items were not respecting their prefix which is important for module support. 486: Use PRIx64 to print 64bit hex values in legacy_hash r=philberty a=philberty * gcc/rust/backend/rust-compile.cc (legacy_hash): lo and hi are uint64_t use PRIx64 to print them as hex values instead of %lx which is target specific. Co-authored-by: Philip Herron <philip.herron@embecosm.com> Co-authored-by: Mark Wielaard <mark@klomp.org>