rust/src/librustc_back/target
Sean McArthur 44440e5c18 core: split into fmt::Show and fmt::String
fmt::Show is for debugging, and can and should be implemented for
all public types. This trait is used with `{:?}` syntax. There still
exists #[derive(Show)].

fmt::String is for types that faithfully be represented as a String.
Because of this, there is no way to derive fmt::String, all
implementations must be purposeful. It is used by the default format
syntax, `{}`.

This will break most instances of `{}`, since that now requires the type
to impl fmt::String. In most cases, replacing `{}` with `{:?}` is the
correct fix. Types that were being printed specifically for users should
receive a fmt::String implementation to fix this.

Part of #20013

[breaking-change]
2015-01-06 14:49:42 -08:00
..
aarch64_unknown_linux_gnu.rs Initial version of AArch64 support. 2015-01-03 15:16:10 +00:00
apple_base.rs
arm_apple_ios.rs Fixes invalid LLVM data layout for aggregate data types 2014-12-28 08:31:23 +02:00
arm_linux_androideabi.rs Fixes invalid LLVM data layout for aggregate data types 2014-12-28 08:31:23 +02:00
arm_unknown_linux_gnueabi.rs Fixes invalid LLVM data layout for aggregate data types 2014-12-28 08:31:23 +02:00
arm_unknown_linux_gnueabihf.rs Fixes invalid LLVM data layout for aggregate data types 2014-12-28 08:31:23 +02:00
dragonfly_base.rs Several fixes for DragonFly (rebase) 2014-12-19 13:05:06 +01:00
freebsd_base.rs
i386_apple_ios.rs Fixes invalid LLVM data layout for aggregate data types 2014-12-28 08:31:23 +02:00
i686_apple_darwin.rs Fixes invalid LLVM data layout for aggregate data types 2014-12-28 08:31:23 +02:00
i686_pc_windows_gnu.rs
i686_unknown_dragonfly.rs Rename misspelled module reference. 2014-11-05 10:37:08 -05:00
i686_unknown_linux_gnu.rs
linux_base.rs fix typo in librustc target spec 2014-11-06 00:17:56 -05:00
mips_unknown_linux_gnu.rs Fixes invalid LLVM data layout for aggregate data types 2014-12-28 08:31:23 +02:00
mipsel_unknown_linux_gnu.rs Fixes invalid LLVM data layout for aggregate data types 2014-12-28 08:31:23 +02:00
mod.rs core: split into fmt::Show and fmt::String 2015-01-06 14:49:42 -08:00
windows_base.rs
x86_64_apple_darwin.rs Fixes invalid LLVM data layout for aggregate data types 2014-12-28 08:31:23 +02:00
x86_64_pc_windows_gnu.rs Fixes invalid LLVM data layout for aggregate data types 2014-12-28 08:31:23 +02:00
x86_64_unknown_dragonfly.rs Fixes invalid LLVM data layout for aggregate data types 2014-12-28 08:31:23 +02:00
x86_64_unknown_freebsd.rs Fixes invalid LLVM data layout for aggregate data types 2014-12-28 08:31:23 +02:00
x86_64_unknown_linux_gnu.rs Fixes invalid LLVM data layout for aggregate data types 2014-12-28 08:31:23 +02:00