Skip to content

Commit fbd2447

Browse files
committed
Removed copyrighted quotes. Closes rust-lang#13871
1 parent bd90b93 commit fbd2447

File tree

1 file changed

+0
-49
lines changed

1 file changed

+0
-49
lines changed

src/libstd/rt/util.rs

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -143,55 +143,6 @@ pub fn abort(args: &fmt::Arguments) -> ! {
143143
let msg = str::from_utf8(w.buf[mut ..w.pos]).unwrap_or("aborted");
144144
let msg = if msg.is_empty() {"aborted"} else {msg};
145145

146-
// Give some context to the message
147-
let hash = msg.bytes().fold(0, |accum, val| accum + (val as uint) );
148-
let quote = match hash % 10 {
149-
0 => "
150-
It was from the artists and poets that the pertinent answers came, and I
151-
know that panic would have broken loose had they been able to compare notes.
152-
As it was, lacking their original letters, I half suspected the compiler of
153-
having asked leading questions, or of having edited the correspondence in
154-
corroboration of what he had latently resolved to see.",
155-
1 => "
156-
There are not many persons who know what wonders are opened to them in the
157-
stories and visions of their youth; for when as children we listen and dream,
158-
we think but half-formed thoughts, and when as men we try to remember, we are
159-
dulled and prosaic with the poison of life. But some of us awake in the night
160-
with strange phantasms of enchanted hills and gardens, of fountains that sing
161-
in the sun, of golden cliffs overhanging murmuring seas, of plains that stretch
162-
down to sleeping cities of bronze and stone, and of shadowy companies of heroes
163-
that ride caparisoned white horses along the edges of thick forests; and then
164-
we know that we have looked back through the ivory gates into that world of
165-
wonder which was ours before we were wise and unhappy.",
166-
2 => "
167-
Instead of the poems I had hoped for, there came only a shuddering blackness
168-
and ineffable loneliness; and I saw at last a fearful truth which no one had
169-
ever dared to breathe before — the unwhisperable secret of secrets — The fact
170-
that this city of stone and stridor is not a sentient perpetuation of Old New
171-
York as London is of Old London and Paris of Old Paris, but that it is in fact
172-
quite dead, its sprawling body imperfectly embalmed and infested with queer
173-
animate things which have nothing to do with it as it was in life.",
174-
3 => "
175-
The ocean ate the last of the land and poured into the smoking gulf, thereby
176-
giving up all it had ever conquered. From the new-flooded lands it flowed
177-
again, uncovering death and decay; and from its ancient and immemorial bed it
178-
trickled loathsomely, uncovering nighted secrets of the years when Time was
179-
young and the gods unborn. Above the waves rose weedy remembered spires. The
180-
moon laid pale lilies of light on dead London, and Paris stood up from its damp
181-
grave to be sanctified with star-dust. Then rose spires and monoliths that were
182-
weedy but not remembered; terrible spires and monoliths of lands that men never
183-
knew were lands...",
184-
4 => "
185-
There was a night when winds from unknown spaces whirled us irresistibly into
186-
limitless vacuum beyond all thought and entity. Perceptions of the most
187-
maddeningly untransmissible sort thronged upon us; perceptions of infinity
188-
which at the time convulsed us with joy, yet which are now partly lost to my
189-
memory and partly incapable of presentation to others.",
190-
_ => "You've met with a terrible fate, haven't you?"
191-
};
192-
rterrln!("{}", "");
193-
rterrln!("{}", quote);
194-
rterrln!("{}", "");
195146
rterrln!("fatal runtime error: {}", msg);
196147
unsafe { intrinsics::abort(); }
197148
}

0 commit comments

Comments
 (0)