diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2017-07-30 02:28:30 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2017-07-30 12:27:57 +0300 |
| commit | a6993d6469f73adab1bc2a73e148d1caad0ab257 (patch) | |
| tree | 4e63cb6c1a25dc344d2f4b066de39257cdf37476 /src/libsyntax_pos | |
| parent | 5c71e4ef90ef79c1ac79c4132333cbc80f5b85b9 (diff) | |
| download | rust-a6993d6469f73adab1bc2a73e148d1caad0ab257.tar.gz rust-a6993d6469f73adab1bc2a73e148d1caad0ab257.zip | |
resolve: Fix instability in import suggestions
Diffstat (limited to 'src/libsyntax_pos')
| -rw-r--r-- | src/libsyntax_pos/symbol.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs index debac70545a..e49f1f28e5f 100644 --- a/src/libsyntax_pos/symbol.rs +++ b/src/libsyntax_pos/symbol.rs @@ -326,7 +326,7 @@ fn with_interner<T, F: FnOnce(&mut Interner) -> T>(f: F) -> T { /// destroyed. In particular, they must not access string contents. This can /// be fixed in the future by just leaking all strings until thread death /// somehow. -#[derive(Clone, Hash, PartialOrd, Eq, Ord)] +#[derive(Clone, Copy, Hash, PartialOrd, Eq, Ord)] pub struct InternedString { string: &'static str, } |
